Debian Codegraph @

.flake8

raw
1 [flake8]
2 ## https://flake8.pycqa.org/en/latest/user/configuration.html
3 ## keep in sync with isort config - in `isort.cfg` file
4
5 exclude =
6 build,dist,__pycache__,.eggs,*.egg-info*,
7 *_cache,*.cache,
8 .git,.tox,.venv,venv,.venv*,venv*,
9 _OLD,_TEST,
10 docs
11
12 max-line-length = 120
13
14 max-complexity = 10
15
16 ignore =
17 # ignore `self`, `cls` markers of flake8-annotations>=2.0
18 ANN101,ANN102
19 # ignore ANN401 for dynamically typed *args and **kwargs
20 ANN401
21 # See https://www.flake8rules.com/rules/W503.html
22 # > Despite being in the best practice section, this will soon be considered an anti-pattern.
23 # So lets ignore this "suggestion" that is actually an anti-pattern already!
24 W503
25 # Until we've refactored code, we need to ignore "is too complex"
26 # See https://github.com/madpah/requirements-parser/issues/96
27 C901