Merge "Make tox.ini tox 4.0.0 compatible"
This commit is contained in:
commit
17a1816da0
7
tox.ini
7
tox.ini
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue