Skip to content

Commit 71e7de0

Browse files
committed
Address deprecation warning about whitelist_externals
1 parent e38632a commit 71e7de0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ envlist = benchmark, test, examples, doc
33
isolated_build = True
44

55
[testenv:benchmark]
6-
whitelist_externals = poetry
6+
allowlist_externals = poetry
77
commands=
88
poetry install
99
python tests/test_parser.py
1010

1111
[testenv:examples]
1212
changedir = examples
13-
whitelist_externals =
13+
allowlist_externals =
1414
doxygen
1515
poetry
1616
commands=
@@ -19,13 +19,13 @@ commands=
1919
sphinx-build -W -b html . {envtmpdir}/examples/_build
2020

2121
[testenv:test]
22-
whitelist_externals = poetry
22+
allowlist_externals = poetry
2323
commands=
2424
poetry install
2525
pytest
2626

2727
[testenv:doc]
28-
whitelist_externals = poetry
28+
allowlist_externals = poetry
2929
commands=
3030
poetry install
3131
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck

0 commit comments

Comments
 (0)