Fix flake8 complaints
Move flake8 configuration into tox config file
This commit is contained in:
parent
dadb8f1ff6
commit
a0b92e38c8
4 changed files with 10 additions and 9 deletions
6
tox.ini
6
tox.ini
|
@ -16,3 +16,9 @@ commands = flake8 .
|
|||
basepython = python3.4
|
||||
deps = flake8
|
||||
commands = flake8 .
|
||||
|
||||
[flake8]
|
||||
# TODO: reduce max-complexity, ideally to 10
|
||||
max-line-length = 120
|
||||
max-complexity = 21
|
||||
exclude = build,dist,docs/conf.py,*/migrations,*.egg-info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue