From 0d50a8b6987fce7b4f5dedfb33be920ddf847adb Mon Sep 17 00:00:00 2001 From: Marek SzwaƂkiewicz Date: Fri, 14 Apr 2023 14:00:07 +0200 Subject: [INTEGRATION] Update deprecated whitelist_externals in tox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove deprecated whitelist_externals from tox.ini Issue-ID: INT-2221 Change-Id: Id4328888d05b3d6a4048ca3028dd64ab64a9f92f Signed-off-by: Marek SzwaƂkiewicz --- infra-healthcheck/tox.ini | 8 ++++---- tox.ini | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/infra-healthcheck/tox.ini b/infra-healthcheck/tox.ini index 0bd2e5a..fbbbf13 100644 --- a/infra-healthcheck/tox.ini +++ b/infra-healthcheck/tox.ini @@ -15,14 +15,14 @@ commands = flake8 [testenv:pylint] basepython = python3 -whitelist_externals = pylint +allowlist_externals = pylint modules = infra_healthcheck commands = pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules} [testenv:yamllint] -whitelist_externals = yamllint +allowlist_externals = yamllint basepython = python3 files = docker @@ -30,7 +30,7 @@ commands = yamllint {[testenv:yamllint]files} [testenv:py3] -whitelist_externals = nosetests +allowlist_externals = nosetests basepython = python3 commands = nosetests --with-xunit \ --with-coverage \ @@ -41,7 +41,7 @@ commands = nosetests --with-xunit \ infra_healthcheck [testenv:bashate] -whitelist_externals = bashate +allowlist_externals = bashate basepython = python3 files = scripts/check_onap_k8s.sh diff --git a/tox.ini b/tox.ini index 3b95001..22177a9 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,12 @@ requires = pip >= 8 [testenv] basepython = python3 -whitelist_externals = +allowlist_externals = git bash + /bin/bash + sh + /bin/sh deps = coala-bears nodeenv -- cgit 1.2.3-korg