-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
35 lines (32 loc) · 1.1 KB
/
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
30
31
32
33
34
35
[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__
T100 # fixme found (FIXME)
T101 # fixme found (TODO)
max-line-length = 100
max-complexity = 10
[mypy]
python_version = 3.8
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
[pycodestyle]
# Settings are compatible with black, see https://github.com/psf/black/issues/354
ignore = E203,W503
# This is the current setting for this project. We may want to drop this to 100.
max-line-length = 100