summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMatthew Watkins <mwatkins@linuxfoundation.org>2023-04-05 11:01:07 +0100
committerMatthew Watkins <mwatkins@linuxfoundation.org>2023-04-05 11:12:10 +0100
commit465aee0a2f4490ac85ff507e929e28ad8aa86f06 (patch)
tree145637c2347a6e03b0a71ba170a6b86b18930a08 /tox.ini
parentbb32bf993ac2b74c12fc435e756d9ce98bb73611 (diff)
[DOC] Prepare tox.ini for new tox version
Change: whitelist_externals -> allowlist_externals Issue-ID: CIMAN-428 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: I60bb0fe11363c0c4104c8a8465fc54a31f713363
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index d90f545f92..ca5c71b98e 100644
--- 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 \{\} +