Merge "Make tox.ini tox 4.0.0 compatible"

This commit is contained in:
Zuul 2023-01-09 16:16:52 +00:00 committed by Gerrit Code Review
commit 17a1816da0
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
[tox]
minversion = 3.18.0
skipsdist = True
envlist = py3,pep8
ignore_basepython_conflict = True
[testenv]
basepython = python3
allowlist_externals = rm
allowlist_externals =
find
rm
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
usedevelop = True
@ -16,7 +17,7 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up
-r{toxinidir}/test-requirements.txt
commands =
/usr/bin/find . -type f -name "*.py[co]" -delete
find . -type f -name "*.py[co]" -delete
rm -f .testrepository/times.dbm
stestr run {posargs}