diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-05-22 13:11:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-22 13:11:37 +0000 |
commit | 7c902200886f72f8a5868d1e40c9b34f9160d6ce (patch) | |
tree | 6e02b9b32068e0d64afe90a3cc06e7050206b092 | |
parent | c1a6979eb1c51083d357afa5caee12539f94b777 (diff) | |
parent | 2bbf1492079d7f30aa3e6dfb88a1e9037412c230 (diff) |
Merge "Check style when running tox"
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index b0d4ff8d1..b284591b9 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,3 +8,4 @@ coverage==4.1 mock==1.3.0 nose==1.3.7 +flake8>=2.5.4,<2.6.0 # MIT @@ -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 |