Update tox.ini to work with tox 4

This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943

Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals

Partial-Bug: #2000399

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ic95819d7546595729a4a8e4e1c68ba4dcd352081
This commit is contained in:
Al Bailey 2022-12-26 22:28:04 +00:00
parent 0fab09315b
commit f29ab14ca8
1 changed files with 4 additions and 4 deletions

View File

@ -13,11 +13,11 @@ setenv = VIRTUAL_ENV={envdir}
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = reno
allowlist_externals = reno
[testenv:linters]
basepython = python3
whitelist_externals = bash
allowlist_externals = bash
#bashate ignore
#E006 Line too long
commands =
@ -44,7 +44,7 @@ deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
whitelist_externals = rm
allowlist_externals = rm
[testenv:releasenotes]
basepython = python3
@ -52,7 +52,7 @@ deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
whitelist_externals = rm
allowlist_externals = rm
rm
[testenv:newnote]