diff --git a/dev-requirements.txt b/dev-requirements.txt index 4c93840f..04358ae8 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,3 +2,4 @@ zest.releaser tox pytest Flask-Testing +Flake8 diff --git a/tox.ini b/tox.ini index 05886252..63af830c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35,py34,py27,docs +envlist = py35,py34,py27,docs,lint skip_missing_interpreters = True [testenv] @@ -17,3 +17,12 @@ install_command = pip install --pre {opts} {packages} commands = sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html deps = -rdocs/requirements.txt + +[testenv:lint] +commands = flake8 ihatemoney +deps = + -rdev-requirements.txt + +[flake8] +exclude = migrations +max_line_length = 100