Update tox configuration
The whitelist_externals option has been renamed to allowlist_externals.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit ba613563f6
)
This commit is contained in:
parent
dc4e8b2fb7
commit
dc05d1fbba
8
tox.ini
8
tox.ini
@ -4,7 +4,7 @@ envlist = bandit, flake8, black, py27, py3
|
|||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
whitelist_externals = sh
|
allowlist_externals = sh
|
||||||
commands =
|
commands =
|
||||||
sh -c "flake8 pungi pungi_utils setup.py tests/*py"
|
sh -c "flake8 pungi pungi_utils setup.py tests/*py"
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ ignore_outcome = True
|
|||||||
|
|
||||||
[testenv:black]
|
[testenv:black]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = sh
|
allowlist_externals = sh
|
||||||
deps =
|
deps =
|
||||||
{[testenv:flake8]deps}
|
{[testenv:flake8]deps}
|
||||||
black
|
black
|
||||||
@ -31,7 +31,7 @@ sitepackages = true
|
|||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
-rtest-requirements.txt
|
-rtest-requirements.txt
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
sh
|
sh
|
||||||
make
|
make
|
||||||
coverage
|
coverage
|
||||||
@ -46,7 +46,7 @@ sitepackages = true
|
|||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
-rtest-requirements.txt
|
-rtest-requirements.txt
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
sh
|
sh
|
||||||
commands =
|
commands =
|
||||||
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'
|
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'
|
||||||
|
Loading…
Reference in New Issue
Block a user