aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorvalentin boucher <valentin.boucher@orange.com>2017-05-22 13:11:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-22 13:11:37 +0000
commit7c902200886f72f8a5868d1e40c9b34f9160d6ce (patch)
tree6e02b9b32068e0d64afe90a3cc06e7050206b092 /tox.ini
parentc1a6979eb1c51083d357afa5caee12539f94b777 (diff)
parent2bbf1492079d7f30aa3e6dfb88a1e9037412c230 (diff)
Merge "Check style when running tox"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index d7da122a..88d720c8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27
+envlist = pep8,py27
[testenv]
deps =
@@ -12,3 +12,9 @@ commands = nosetests --with-xunit \
--cover-xml \
--cover-html \
functest/tests/unit
+
+[testenv:pep8]
+basepython = python2.7
+deps =
+ {[testenv]deps}
+commands = flake8