Update tox configuration

The whitelist_externals option has been renamed to allowlist_externals.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2024-01-26 09:15:57 +01:00
parent c8d16e6978
commit ba613563f6

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 \{\} +'