Support tox4

Renamed deprecated option whitelist_externals to allowlist_externals.

Bumped tox minversion as allowlist_externals is only supported in
3.18 [1].

Also set skipsdist=False (default) due to [2].

[1] https://tox.wiki/en/3.24.5/config.html#conf-allowlist_externals
[2] https://github.com/tox-dev/tox/issues/2730

Change-Id: Iee2f00418804c21589bd8abc19a8b25aff458e77
This commit is contained in:
Jake Yip 2023-01-04 20:33:30 +11:00
parent 75b8d01d73
commit 4d74c31c9a
1 changed files with 2 additions and 3 deletions

View File

@ -1,12 +1,11 @@
[tox]
minversion = 2.0
minversion = 3.18
envlist = py38,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
whitelist_externals = find
allowlist_externals = find
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning