diff --git a/tox.ini b/tox.ini index 948f83782..862bd8510 100644 --- a/tox.ini +++ b/tox.ini @@ -33,12 +33,15 @@ basepython = python3.5 commands = oslo_debug_helper {posargs} [testenv:pep8] +basepython = python3 commands = flake8 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = rm -f .testrepository/times.dbm python setup.py test --coverage --testr-args='{posargs}' \ @@ -46,6 +49,7 @@ commands = coverage report [testenv:docs] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html @@ -57,6 +61,7 @@ enable-extensions = H106,H203 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*,releasenotes [testenv:pylint] +basepython = python3 deps = {[testenv]deps} pylint @@ -68,9 +73,11 @@ import_exceptions = neutron.i18n local-check-factory = neutron_lib.hacking.checks.factory [testenv:genconfig] +basepython = python3 commands = oslo-config-generator --config-file=etc/oslo-config-generator/kuryr.conf [testenv:releasenotes] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html