summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini12
1 files changed, 7 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index c70d79d..a4fb94e 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 =