Fix flake8 complaints

Move flake8 configuration into tox config file
This commit is contained in:
Peter Bittner 2016-04-10 20:05:49 +02:00
parent dadb8f1ff6
commit a0b92e38c8
4 changed files with 10 additions and 9 deletions

View file

@ -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