coins-demo/tox.ini
Peter Bittner a0b92e38c8 Fix flake8 complaints
Move flake8 configuration into tox config file
2016-04-10 20:06:21 +02:00

24 lines
397 B
INI

[tox]
envlist =
flake8py{2,3}
[testenv]
# deps = pytest
commands =
# py.test
[testenv:flake8py2]
basepython = python2.7
deps = flake8
commands = flake8 .
[testenv:flake8py3]
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