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:
parent
1cbfc88d67
commit
a5ac52d27e
6
tox.ini
6
tox.ini
|
@ -15,7 +15,7 @@ deps =
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
whitelist_externals = sh
|
allowlist_externals = sh
|
||||||
find
|
find
|
||||||
rm
|
rm
|
||||||
commands =
|
commands =
|
||||||
|
@ -43,14 +43,14 @@ commands = rm -rf doc/build
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build
|
rm -rf releasenotes/build
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
deps = bashate
|
deps = bashate
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
commands = bash -c "find {toxinidir}/devstack \
|
commands = bash -c "find {toxinidir}/devstack \
|
||||||
-not \( -type d -name .?\* -prune \) \
|
-not \( -type d -name .?\* -prune \) \
|
||||||
-not \( -type d -name doc -prune \) \
|
-not \( -type d -name doc -prune \) \
|
||||||
|
|
Loading…
Reference in New Issue