tox: use allowlist_externals

Change-Id: I88c6a05d0813a685c28be9081f7a36a6a0c8711c
This commit is contained in:
Tobias Urdin 2023-01-25 15:30:19 +00:00
parent a7eb477a7a
commit 67d3679713
1 changed files with 6 additions and 3 deletions

View File

@ -15,14 +15,17 @@ deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = find
rm
allowlist_externals =
find
rm
commands =
find . -type f -name "*.pyc" -delete
rm -f .testrepository/times.dbm
stestr run {posargs}
[testenv:pep8]
allowlist_externals =
{toxinidir}/tools/check_for_alembic_branches.sh
commands =
flake8
{toxinidir}/tools/check_for_alembic_branches.sh
@ -53,7 +56,7 @@ commands =
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
whitelist_externals =
allowlist_externals =
make
commands =
sphinx-build -W -b latex doc/source doc/build/pdf