Changed minversion in tox to 3.18.0

The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ib37ac703ae9a49c31f0797f210174c591a4b8109
This commit is contained in:
wu.shiming 2021-05-31 09:54:53 +08:00
parent f70ffd8c3f
commit 378ce7cc04
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[tox]
minversion = 2.3.1
minversion = 3.18.0
envlist = py38,pep8
skipsdist = True
@ -11,7 +11,7 @@ install_command = pip install {opts} {packages}
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = sh
allowlist_externals = sh
find
rm
commands = find {toxinidir} -type f -name "*.py[c|o]" -delete