summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index baf2214a..ba77d2f3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,22 @@
[tox]
-envlist = py27
+envlist = py27,pep8
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
+[flake8]
+ignore = E501
+exclude = ./venv-tox,./.tox
+
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = coverage run --branch manage.py test lcm
+
+[testenv:pep8]
+deps = flake8
+commands = flake8
+
+[testenv:py27]
+commands =
+ {[testenv]commands}