Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-07-17 08:52:26 +00:00 committed by Gerrit Code Review
commit e1b28959c5
1 changed files with 7 additions and 0 deletions

View File

@ -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