-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.cfg
29 lines (27 loc) · 948 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[flake8]
# Settings are compatible with black, see https://github.com/psf/black/issues/354
ignore =
E203 # Whitespace before ':'
W503 # Line break occurred before a binary operator
D100 # Missing docstring in public module
D101 # Missing docstring in public class
D102 # Missing docstring in public method
D103 # Missing docstring in public function
D104 # Missing docstring in public package
D105 # Missing docstring in magic method
D106 # Missing docstring in public nested class
D107 # Missing docstring in __init__
T101 # fixme found (TODO)
# Target values over time: max line length: 100, max-complexity: 10
max-line-length = 105
max-complexity = 30
[mypy]
python_version = 3.6
# disallow_untyped_defs = True
ignore_missing_imports = True
strict_optional = True
warn_redundant_casts = True
# warn_unreachable = True
# warn_unused_ignores = True
# warn_return_any = True
warn_unused_configs = True