From 14b4e5a9715c6192e3053c920d5d9e357edcadbe Mon Sep 17 00:00:00 2001 From: Luan Nunes Utimura Date: Mon, 15 May 2023 12:32:10 -0300 Subject: [PATCH] Update tox.ini to work with tox 4 This change partially brings the following commit from `master`: commit e9bae3f7eead1cccc9391a79d3d987ccf4d9b7a5 Author: Scott Little Date: Mon Feb 6 13:13:41 2023 -0500 Add git for storage of public keys and certs Signed-off-by: Scott Little So that this repo is able to pass Zuul's tests and remain maintainable. Change-Id: I07f75d20721445289d1360b9ab16518634b8c0b8 Signed-off-by: Luan Nunes Utimura (cherry picked from commit e9bae3f7eead1cccc9391a79d3d987ccf4d9b7a5) --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 4af12e7..40c605c 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,9 @@ deps = -r{toxinidir}/test-requirements.txt [testenv:linters] basepython = python3 -whitelist_externals = bash +allowlist_externals = bash + find + xargs commands = bash -c "find {toxinidir} \ \( -name .tox -prune \) \ @@ -32,4 +34,4 @@ basepython = python3 # Use same environment directory as venv to save space and install time envdir = {toxworkdir}/venv commands = true -whitelist_externals = true +allowlist_externals = true