File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # For all options see: https://mypy.readthedocs.io/en/stable/config_file.html#
2
+
3
+ # === Global options ===
4
+
5
+ [mypy]
6
+
7
+ # Below is a modification of strict mode (https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options)
8
+
9
+ python_version = 3.10
10
+
11
+ # Useful warnings
12
+ warn_no_return = True
13
+ warn_return_any = True
14
+ warn_unreachable = True
15
+ warn_unused_ignores = True
16
+ warn_unused_configs = True
17
+ warn_redundant_casts = True
18
+
19
+ # Untyped definitions and calls
20
+ check_untyped_defs = True
21
+ disallow_untyped_calls = True
22
+ disallow_untyped_defs = True
23
+ disallow_incomplete_defs = True
24
+ disallow_untyped_decorators = True
25
+
26
+ # Dynamic typing
27
+ disallow_subclassing_any = True
28
+ disallow_any_generics = True
29
+
30
+ # None and Optional handling
31
+ implicit_optional = True
32
+
33
+ # Error messages
34
+ show_column_numbers = True
35
+ pretty = True
You can’t perform that action at this time.
0 commit comments