Change nfvbench git checkout to stable/fraser in Dockerfile
[nfvbench.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 3120ac1..354740f 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 1.6
-envlist = py27,pep8
+envlist = py27,pep8, lint
 skipsdist = True
 
 [testenv]
@@ -10,11 +10,14 @@ setenv =
    VIRTUAL_ENV={envdir}
 deps = -r{toxinidir}/requirements.txt
        -r{toxinidir}/test-requirements.txt
-commands = py.test -q -s --basetemp={envtmpdir} {posargs}
+commands = py.test -q --basetemp={envtmpdir} {posargs}
 
 [testenv:pep8]
 commands = flake8 {toxinidir}
 
+[testenv:lint]
+commands = pylint --rcfile pylint.rc nfvbench test
+
 [testenv:venv]
 commands = {posargs}
 
@@ -37,6 +40,6 @@ show-source = True
 #H404: multi line docstring should start without a leading new line
 #H405: multi line docstring summary not separated with an empty line
 #H904: Wrap long lines in parentheses instead of a backslash
-ignore = E123,E125,H803,E302,E303,H233,H236,H302,H404,H405,H904
+ignore = E123,E125,H803,E302,E303,H104,H233,H236,H302,H404,H405,H904,D102,D100,D107
 builtins = _
-exclude=venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+exclude=venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,dib-venv