diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | tox.ini | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index e912c73..90f7740 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ env: - TOXENV=py32 - TOXENV=py33 - TOXENV=py34 + - TOXENV=flake8 before_install: - sudo apt-get update -qq - sudo apt-get install libtidy-0.99-0 @@ -1,5 +1,5 @@ [tox] -envlist = py27, py31, py32, py33, py34 +envlist = py27, py31, py32, py33, py34, flake8 [testenv] downloadcache = {toxworkdir}/cache @@ -9,3 +9,10 @@ deps = nose pytidylib commands = coverage run --source=markdown {toxinidir}/run-tests.py {posargs} coverage report --show-missing + +[testenv:flake8] +deps = flake8 +commands = flake8 {toxinidir}/markdown {toxinidir}/tests {toxinidir}/setup.py {toxinidir}/run-tests.py + +[flake8] +max-line-length = 119
\ No newline at end of file |