[DOC] Prepare tox.ini for new tox version 15/134015/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 5 Apr 2023 10:01:07 +0000 (11:01 +0100)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 5 Apr 2023 10:12:10 +0000 (11:12 +0100)
Change: whitelist_externals -> allowlist_externals

Issue-ID: CIMAN-428
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I60bb0fe11363c0c4104c8a8465fc54a31f713363

tox.ini

diff --git a/tox.ini b/tox.ini
index d90f545..ca5c71b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,7 +39,7 @@ commands = sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxi
 
 [testenv:spelling]
 basepython = python3.8
-whitelist_externals = wget
+allowlist_externals = wget
 deps =
     -r{toxinidir}/requirements.txt
     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
@@ -60,7 +60,7 @@ commands =
 
 [testenv:checkbashisms]
 deps =
-whitelist_externals =
+allowlist_externals =
     {toxinidir}/.ci/check-bashisms.sh
 commands =
     {toxinidir}/.ci/check-bashisms.sh
@@ -68,7 +68,7 @@ commands =
 [testenv:shellcheck]
 basepython = python3
 deps = shellcheck-py
-whitelist_externals = find
+allowlist_externals = find
 commands =
     find . -not -path '*/\.*' -name *.sh -exec shellcheck \{\} +
 
@@ -87,7 +87,7 @@ deps =
     -r{toxinidir}/requirements.txt
     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
-whitelist_externals = find
+allowlist_externals = find
 commands =
     find kubernetes/ TOSCA/ docs/ -name *.py -exec pylint --max-line-length=120 --disable=missing-docstring --method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$" --variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$" --reports=y --score=y  --output-format=colorized  \{\} +