summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gvnfmadapter/tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/gvnfmadapter/tox.ini b/gvnfmadapter/tox.ini
index 4e62baf..e70d504 100644
--- a/gvnfmadapter/tox.ini
+++ b/gvnfmadapter/tox.ini
@@ -1,7 +1,19 @@
[tox]
-envlist = py27
+envlist = py27,pep8
skipsdist = true
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = coverage run --branch manage.py test
+
+[flake8]
+ignore = E501,E121,W191,E101,W293,E302,E231,E201,E202,F841,E225,E241,E126
+max-complexity = 12
+
+[testenv:pep8]
+deps = flake8
+commands = flake8
+
+[testenv:py27]
+commands =
+ {[testenv]commands} \ No newline at end of file