From ee3faa7376970d3849635a338d8b5ef732d919c3 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 20 Nov 2014 21:04:01 -0500 Subject: Added flake8 to tox and travis --- .travis.yml | 1 + tox.ini | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 diff --git a/tox.ini b/tox.ini index 5ccefce..2326901 100644 --- a/tox.ini +++ b/tox.ini @@ -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 -- cgit v1.2.3