summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2017-09-28 09:18:19 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-28 09:18:19 +0000
commite6c2ea8d3b9e074441748cf1cbbbbe0aa042846d (patch)
tree8160dfc00fff4b4a51e2fe6b3f606a477309a755
parentca915d443bd81202e1f45423254547f258533aea (diff)
parent9640af8a512ccf5274a687cf45ac302ba3e5175b (diff)
Merge "Add pep8 check for vfc-nfvo-lcm"
-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}