aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-11-20 21:04:01 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2014-11-20 21:04:01 -0500
commitee3faa7376970d3849635a338d8b5ef732d919c3 (patch)
tree6779a512b293bfb64260631ed3a1fe668d52516c
parentb206ec0d03e3d28d810f20dfeffb48b962731c69 (diff)
downloadmarkdown-ee3faa7376970d3849635a338d8b5ef732d919c3.tar.gz
markdown-ee3faa7376970d3849635a338d8b5ef732d919c3.tar.bz2
markdown-ee3faa7376970d3849635a338d8b5ef732d919c3.zip
Added flake8 to tox and travis
-rw-r--r--.travis.yml1
-rw-r--r--tox.ini9
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
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