aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 3fa6109..1d46a4a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,9 +15,10 @@
#
[tox]
-envlist=py27,py3
+envlist=py27,py3,pep8
[testenv]
+basepython = python3
passenv =
TRAVIS
PYTHON
@@ -39,3 +40,10 @@ basepython = python2
[testenv:py3]
basepython = python3
+
+[testenv:pep8]
+deps = flake8<3.8,>=3.7.0
+commands = flake8 {toxinidir}/vnfsdk_pkgtools {toxinidir}/tests
+
+[flake8]
+ignore = E501