diff --git a/.travis.yml b/.travis.yml index e560817..9214fce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ env: - TOXENV=py27 - TOXENV=py33 - TOXENV=pypy + - TOXENV=flake8 install: - pip install tox --use-mirrors script: diff --git a/tox.ini b/tox.ini index 11b8be0..2571d9a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,11 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py33, pypy +envlist = py27, py33, pypy, flake8 [testenv] commands = {envpython} setup.py test deps = +[testenv:flake8] +commands = flake8 --max-complexity=12 blogtopoid