From a5ac52d27eb7ca97f531ab8e40172c39b7e24877 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 22 May 2022 22:21:34 +0900 Subject: [PATCH] Replace deprecated whitelist_externals The whitelist_externals option has been deprecated since tox 3.18.0[1]. [1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I6a0b056bd944d93fb6afd9a1671ad1fa8010e251 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index a413aebd..545cdca8 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ deps = setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE=1 -whitelist_externals = sh +allowlist_externals = sh find rm commands = @@ -43,14 +43,14 @@ commands = rm -rf doc/build [testenv:releasenotes] deps = {[testenv:docs]deps} -whitelist_externals = rm +allowlist_externals = rm commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [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 \) \