From 465aee0a2f4490ac85ff507e929e28ad8aa86f06 Mon Sep 17 00:00:00 2001 From: Matthew Watkins Date: Wed, 5 Apr 2023 11:01:07 +0100 Subject: [PATCH] [DOC] Prepare tox.ini for new tox version Change: whitelist_externals -> allowlist_externals Issue-ID: CIMAN-428 Signed-off-by: Matthew Watkins Change-Id: I60bb0fe11363c0c4104c8a8465fc54a31f713363 --- tox.ini | 8 ++++---- 1 file 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 \{\} + -- 2.16.6