aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorKerim Gokarslan <kgokarsl@cisco.com>2017-10-13 17:29:58 -0700
committerahothan <ahothan@cisco.com>2017-10-20 00:37:14 -0700
commit124ecd5d59869bad3a4f5f53f91f5b9c99051512 (patch)
treee798895746a4edddc083b6e618f766d7905a7fbc /tox.ini
parent08c848d44a2a39828593b30c172a6e33773f4efc (diff)
NFVBENCH-40 Add pylint to tox
Change-Id: Ic55a07145f27c4cfaa6df5523df3940ca4433af1 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index ea0894e..1dab8a7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 1.6
-envlist = py27,pep8
+envlist = py27,pep8, lint
skipsdist = True
[testenv]
@@ -15,6 +15,9 @@ commands = py.test -q -s --basetemp={envtmpdir} {posargs}
[testenv:pep8]
commands = flake8 {toxinidir}
+[testenv:lint]
+commands = pylint --rcfile pylint.rc nfvbench test
+
[testenv:venv]
commands = {posargs}