diff --git a/tox.ini b/tox.ini index c70d79d3..a4fb94ea 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.1.1 +minversion = 3.18.0 envlist = py38,py39,pep8 skipsdist = True ignore_basepython_conflict = True @@ -24,7 +24,7 @@ commands = coverage html -d cover coverage xml -o cover/coverage.xml coverage report -m -whitelist_externals = rm +allowlist_externals = rm [testenv:debug] commands = oslo_debug_helper -t barbicanclient/tests {posargs} @@ -40,15 +40,17 @@ commands = {posargs} # the main docs to https://docs.openstack.org/python-barbicanclient description = Build main documentation basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands= rm -rf doc/build/html doc/build/doctrees sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html -whitelist_externals = rm +allowlist_externals = rm [testenv:pdf-docs] deps = {[testenv:docs]deps} -whitelist_externals = +allowlist_externals = make rm commands =