summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
Diffstat (limited to 'mgr')
-rw-r--r--mgr/tox.ini13
1 files changed, 12 insertions, 1 deletions
diff --git a/mgr/tox.ini b/mgr/tox.ini
index 8301a37..de86105 100644
--- a/mgr/tox.ini
+++ b/mgr/tox.ini
@@ -1,10 +1,21 @@
[tox]
-envlist = py27
+envlist = py27,pep8
skipsdist = true
[tox:jenkins]
downloadcache = ~/cache/pip
+[flake8]
+ignore = E501,E302,W293,E128,W291,F401
+
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = coverage run --branch manage.py test mgr
+
+[testenv:pep8]
+deps = flake8
+commands = flake8
+
+[testenv:py27]
+commands =
+ {[testenv]commands} \ No newline at end of file