File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ [mypy]
2
+ # Strict
3
+ strict = True
4
+ # But relax some strictness
5
+ disallow_untyped_decorators = False
6
+ disallow_subclassing_any = False
7
+ implicit_reexport = True
8
+ # Now enable more rules
9
+ disallow_any_generics = True
10
+ disallow_incomplete_defs = true
11
+ disallow_untyped_calls = True
12
+ disallow_untyped_defs = True
13
+ ignore_missing_imports = True
14
+ show_error_codes = True
15
+ strict_equality = True
16
+ warn_redundant_casts = True
17
+ warn_return_any = True
18
+ warn_unreachable = True
19
+ warn_unused_ignores = True
Original file line number Diff line number Diff line change
1
+ [messages control]
2
+
3
+ # Disable some distracting checks.
4
+ # See http://pylint.pycqa.org/en/latest/user_guide/message-control.html
5
+ #
6
+ # R : (Refactoring) warnings
7
+ disable = consider-using-f-string,
8
+ line-too-long,
9
+ missing-class-docstring,
10
+ missing-function-docstring,
11
+ missing-module-docstring,
12
+ R,
13
+ too-many-lines,
You can’t perform that action at this time.
0 commit comments