Update tox configuration

The whitelist_externals option has been renamed to allowlist_externals.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit ba613563f6)
This commit is contained in:
Lubomír Sedlář 2024-01-26 09:15:57 +01:00 committed by Stepan Oksanichenko
parent dc4e8b2fb7
commit dc05d1fbba
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -4,7 +4,7 @@ envlist = bandit, flake8, black, py27, py3
[testenv:flake8]
deps =
flake8
whitelist_externals = sh
allowlist_externals = sh
commands =
sh -c "flake8 pungi pungi_utils setup.py tests/*py"
@ -18,7 +18,7 @@ ignore_outcome = True
[testenv:black]
basepython = python3
whitelist_externals = sh
allowlist_externals = sh
deps =
{[testenv:flake8]deps}
black
@ -31,7 +31,7 @@ sitepackages = true
deps =
-rrequirements.txt
-rtest-requirements.txt
whitelist_externals =
allowlist_externals =
sh
make
coverage
@ -46,7 +46,7 @@ sitepackages = true
deps =
-rrequirements.txt
-rtest-requirements.txt
whitelist_externals =
allowlist_externals =
sh
commands =
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'