Skip to content

Commit

Permalink
Update tox.ini for tox v4
Browse files Browse the repository at this point in the history
This convers whitelist_externals to allowlist_externals to make tox v4
happy. Note that this may not be a complete fix for tox v4 as
project-config isn't tested speculatively which makes it harder to find
all the cases.

Change-Id: Ia44a2ef83cdc57d0bb74c72ea5c95078b53ccaec
  • Loading branch information
cboylan committed Dec 12, 2022
1 parent e2a6241 commit f7af758
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
basepython = python3

[testenv:linters]
whitelist_externals = bash
allowlist_externals =
bash
{toxinidir}/tools/ansible-lint-roles-cache.sh
{toxinidir}/tools/run-bashate.sh
{toxinidir}/tools/zuul-projects-checks.py
setenv =
# NOTE(ianw) : In the gate job openstack-zuul-jobs-linters this is
# overridden to the Zuul checkouts of the projects. Locally,
Expand Down Expand Up @@ -110,7 +114,7 @@ commands =
{toxinidir}/tools/nodepool-validate.sh

[testenv:add-projects-to-main]
whitelist_externals =
allowlist_externals =
git
deps =
ruamel.yaml
Expand Down

0 comments on commit f7af758

Please sign in to comment.