Update tox.ini to work with tox 4
Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals. Also, add bash to allowlist_externals on generatepot tox env. Related-Bug: #2000399 Change-Id: I3bb050b8abf3b32929eb0379eb8ac1bb84951803
This commit is contained in:
parent
4e8bc2dd50
commit
9b939e1b40
8
tox.ini
8
tox.ini
@ -31,7 +31,7 @@ commands =
|
||||
docstheme-build-translated.sh
|
||||
|
||||
[testenv:pdf-docs]
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
make
|
||||
commands =
|
||||
sphinx-build -W -b latex doc/source doc/build/pdf
|
||||
@ -44,11 +44,13 @@ commands =
|
||||
python {toxinidir}/tools/check_yaml_file.py {toxinidir}/tools/zanata/translation_team.yaml
|
||||
bash {toxinidir}/tools/check-zanata-users-list.sh
|
||||
{[testenv:generatepot]commands}
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
|
||||
[testenv:generatepot]
|
||||
# Generate POT files for translation
|
||||
commands = {toxinidir}/tools/generatepot.sh
|
||||
commands =
|
||||
bash {toxinidir}/tools/generatepot.sh
|
||||
allowlist_externals = bash
|
||||
|
||||
[testenv:zanata-users-sync]
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user