summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-05-21 10:42:48 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-05-21 10:45:10 +0200
commit2bbf1492079d7f30aa3e6dfb88a1e9037412c230 (patch)
treea3b64a30d74c8f539eadb74ac85d4638f36acc12 /tox.ini
parentd7342a09d909b138faaa15046e9379769ccd3859 (diff)
Check style when running tox
Change-Id: Idedf823a1572c40692e445694461b4196b75275d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 d7da122af..88d720c8c 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