Fix tox 4 compatibility

Change-Id: I30e5455d5f0fb019c2522777d33461a48ca7ba03
This commit is contained in:
Elod Illes 2023-03-01 17:48:10 +01:00
parent 277db4ff4e
commit 1af685b7d9
1 changed files with 8 additions and 3 deletions

11
tox.ini
View File

@ -4,9 +4,14 @@ minversion = 2.0
skipsdist = True
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
passenv =
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
@ -15,7 +20,7 @@ deps = -r{toxinidir}/requirements.txt
commands =
stestr run --slowest {posargs}
whitelist_externals = bash
allowlist_externals = bash
find
[testenv:pep8]