summaryrefslogtreecommitdiffstats
path: root/vio/tox.ini
diff options
context:
space:
mode:
authorBin Sun <bins@vmware.com>2017-09-01 21:49:39 +0800
committerBin Sun <bins@vmware.com>2017-09-01 22:09:48 +0800
commit1df8516760032319e1630da60aa955ee5b977ab1 (patch)
treecfa124be9183c558ad67d322cfb9304b229a4d9b /vio/tox.ini
parentf847ac19fafe59967680e0cb4a03efd2827c32cf (diff)
Add PEP8 check
Change-Id: Ibc1004c8664cf258b43043474672fc2c440d9c3e Issue-Id: MULTICLOUD-64 Signed-off-by: Bin Sun <bins@vmware.com>
Diffstat (limited to 'vio/tox.ini')
-rw-r--r--vio/tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/vio/tox.ini b/vio/tox.ini
index cc9e5ad..bf5d800 100644
--- a/vio/tox.ini
+++ b/vio/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27
+envlist = py27,pep8
skipsdist = true
[tox:jenkins]
@@ -8,3 +8,7 @@ downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = coverage run --branch manage.py test vio
+
+[testenv:pep8]
+deps=flake8
+commands=flake8