From dc05d1fbbaf0f90085fd60fa2508477372330f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Fri, 26 Jan 2024 09:15:57 +0100 Subject: [PATCH] Update tox configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The whitelist_externals option has been renamed to allowlist_externals. Signed-off-by: Lubomír Sedlář (cherry picked from commit ba613563f64d8873df9a4c3108d86ba935a426c4) --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index ae1cf711..77c6ddeb 100644 --- a/tox.ini +++ b/tox.ini @@ -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 \{\} +'