3 envlist = py27,pep8, lint
8 install_command = pip install -U {opts} {packages}
11 deps = -r{toxinidir}/requirements.txt
12 -r{toxinidir}/test-requirements.txt
13 commands = py.test -q --basetemp={envtmpdir} {posargs}
16 commands = flake8 {toxinidir}
19 commands = pylint --rcfile pylint.rc nfvbench test
25 commands = python setup.py testr --coverage --testr-args='{posargs}'
28 commands = python setup.py build_sphinx
31 # H803 skipped on purpose per list discussion.
32 # E123, E125 skipped as they are invalid PEP-8.
35 #E302: expected 2 blank linee
36 #E303: too many blank lines (2)
37 #H233: Python 3.x incompatible use of print operator
38 #H236: Python 3.x incompatible __metaclass__, use six.add_metaclass()
39 #H302: import only modules.
40 #H404: multi line docstring should start without a leading new line
41 #H405: multi line docstring summary not separated with an empty line
42 #H904: Wrap long lines in parentheses instead of a backslash
43 ignore = E123,E125,H803,E302,E303,H104,H233,H236,H302,H404,H405,H904
45 exclude=venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,dib-venv