Update tox.ini to work with tox 4
This change will allow this repo to pass zuul now that this has merged: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Partial-Bug: #2000399 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I53cf7083fa3b80c96d56619b4e9bba81ea26bc87
This commit is contained in:
parent
7b957158bb
commit
99d897bdd4
4
tox.ini
4
tox.ini
@ -13,7 +13,7 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
# Bashate warnings
|
# Bashate warnings
|
||||||
# E001 Trailing Whitespace
|
# E001 Trailing Whitespace
|
||||||
# E002 Tab indents
|
# E002 Tab indents
|
||||||
@ -59,7 +59,7 @@ basepython = python3
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:unit-tests]
|
[testenv:unit-tests]
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv = PYTHON3=python
|
setenv = PYTHON3=python
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user