summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangzihao <wangzihao@yovole.com>2021-06-22 10:07:55 +0800
committerwangzihao <wangzihao@yovole.com>2021-06-22 10:15:40 +0800
commit6916137b823ccb33a84c6dc7e4f3550ef8f0de8f (patch)
tree62b0ea9c4c6543a2a7cc383c14c18006e72303e5
parent40b5633dfd65355e53afd298619e672370d2f64b (diff)
downloaddesignate-6916137b823ccb33a84c6dc7e4f3550ef8f0de8f.tar.gz
replace whitelist_externals by allowlist_externals
replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Depends-on: https://review.opendev.org/c/openstack/designate/+/796597 Change-Id: Id28a67abc74c3e14d4cba8d3278c89a1fe029252
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 6a498ff8..854cddbc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,7 @@ deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-whitelist_externals =
+allowlist_externals =
sh
find
rm
@@ -50,7 +50,7 @@ commands =
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
-whitelist_externals =
+allowlist_externals =
make
commands =
sphinx-build -W -b latex doc/source doc/build/pdf
@@ -97,7 +97,7 @@ commands = oslopolicy-sample-generator --config-file etc/designate/designate-pol
[testenv:bashate]
deps = bashate
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash -c "find {toxinidir}/devstack \
-not \( -type d -name .?\* -prune \) \
-not \( -type d -name doc -prune \) \