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
This commit is contained in:
Takashi Kajinami 2022-05-22 22:21:34 +09:00
parent 1cbfc88d67
commit a5ac52d27e
1 changed files with 3 additions and 3 deletions

View File

@ -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 \) \