aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2024-08-22 11:11:59 +0200
committerVratko Polak <vrpolak@cisco.com>2024-08-22 11:11:59 +0200
commita016cc4d87fcd4726d86e38750b2087bde925bc2 (patch)
tree03b70d316f72e2757db5c25970acf3135f3713bb /tox.ini
parentb72e0a414f6f7519c5814212afb6eb7ecc0fede5 (diff)
fix(tox): Upgrade tox versions and dependencies
Tox job started failing on pip issues. Change-Id: I198bfee3d9398c6b1e6ace4dec730e1333b14dbd Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 8 insertions, 8 deletions
diff --git a/tox.ini b/tox.ini
index e0ac85c22a..c61677477f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -39,30 +39,30 @@ script_dir = ./resources/libraries/bash/entry/tox
# + ignore_outcome for non-voting checkers,
# + setenv (PYTHONPATH) for Python-using checkers and fixers.
# + Other Python stuff (e.g. basepython and deps for pylint).
-# + whitelist_externals to enable bash.
+# + allowlist_externals to enable bash.
# + Commands with a single bash to launch the corresponding script.
[testenv:autogen]
setenv = PYTHONPATH = {toxinidir}
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/autogen.sh
[testenv:copyright_year]
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/copyright_year.sh
[testenv:fix_copyright_year]
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/fix_copyright_year.sh
[testenv:gpl_license]
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/gpl_license.sh
[testenv:line_length]
# Fix all transgressions and remove the ignore_outcome flag.
ignore_outcome = true
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/line.sh
[testenv:new_line_length]
@@ -70,7 +70,7 @@ commands = bash {[tox]script_dir}/line.sh
# As current implementation is too dumb to filter those out,
# the checker has to remain non-voting.
ignore_outcome = true
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/new_line.sh
[testenv:pylint]
@@ -79,5 +79,5 @@ ignore_outcome = true
setenv = PYTHONPATH = {toxinidir}
basepython = python3
deps = -r ./requirements.txt
-whitelist_externals = bash
+allowlist_externals = bash
commands = bash {[tox]script_dir}/pylint.sh