diff --git a/tox.ini b/tox.ini index d40dd7f8..fa2a2da1 100644 --- a/tox.ini +++ b/tox.ini @@ -18,18 +18,23 @@ deps = -r{toxinidir}/requirements.txt commands = {toxinidir}/manage.py test ironic_ui --settings=ironic_ui.test.settings [testenv:pep8] +basepython = python3 commands = flake8 {posargs} [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:debug] +basepython = python3 commands = oslo_debug_helper -t ironic_ui/test/tests {posargs} [flake8] @@ -39,9 +44,11 @@ builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:extractmessages] +basepython = python3 commands = pybabel extract -F babel-django.cfg \ -o ironic_ui/locale/django.pot -k gettext_noop -k gettext_lazy -k ngettext_lazy:1,2 \