diff --git a/tox.ini b/tox.ini index 9ee1eb7..4c5da67 100644 --- a/tox.ini +++ b/tox.ini @@ -31,9 +31,11 @@ commands = coverage report [testenv:debug] +basepython = python3 commands = oslo_debug_helper -t {env:OS_TEST_PATH} {posargs} [testenv:pep8] +basepython = python3 skip_install = True usedevelop = False commands = @@ -42,28 +44,33 @@ commands = {[testenv:checkniceness]commands} [testenv:flake8] +basepython = python3 skip_install = True usedevelop = False commands = flake8 monascaclient [testenv:bandit] +basepython = python3 skip_install = True usedevelop = False commands = bandit -r monascaclient -n5 -x {env:OS_TEST_PATH} [testenv:docs] +basepython = python3 description = Builds full monascaclient documentation commands = {[testenv:devdocs]commands} {[testenv:releasenotes]commands} [testenv:devdocs] +basepython = python3 description = Builds developer documentation commands = rm -rf {toxinidir}/doc/build {toxinidir}/doc/source/contributor/api python setup.py build_sphinx [testenv:releasenotes] +basepython = python3 description = Called from CI script to test and publish the Release Notes commands = rm -rf releasenotes/build @@ -71,12 +78,14 @@ commands = {toxinidir}/releasenotes/source {toxinidir}/releasenotes/build/html [testenv:checkniceness] +basepython = python3 description = Validates (pep-like) documenation commands = doc8 --file-encoding utf-8 {toxinidir}/doc doc8 --file-encoding utf-8 {toxinidir}/releasenotes [testenv:venv] +basepython = python3 commands = {posargs} [hacking]