summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-12-19 10:46:22 +0000
committerGerrit Code Review <review@openstack.org>2022-12-19 10:46:22 +0000
commit3889a0a3fce286dcc0225cbdf2cb684c5e8bb65b (patch)
tree8fea153df250c600bb334730f69067786dcb375a
parentdc73be37cc06bc34ab39123fffea5a390de8654b (diff)
parentca85a708ec105b6a1aed093fcac489b13efaee44 (diff)
downloadironic-python-agent-3889a0a3fce286dcc0225cbdf2cb684c5e8bb65b.tar.gz
Merge "Fixes for tox 4.0" into bugfix/8.1
-rw-r--r--tox.ini13
1 files changed, 7 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 7e57ad7c..84b00d64 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,9 @@
[tox]
minversion = 3.18.0
-skipsdist = True
envlist = py3,functional,pep8
ignore_basepython_conflict=true
[testenv]
-usedevelop = True
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
@@ -19,7 +17,13 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
-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
[testenv:functional]
# Define virtualenv directory, port to use for functional testing, and number
@@ -33,7 +37,6 @@ setenv =
commands = stestr run {posargs}
[testenv:pep8]
-usedevelop = False
deps=
hacking>=3.1.0,<4.0.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
@@ -87,7 +90,6 @@ commands =
make -C doc/build/pdf
[testenv:releasenotes]
-usedevelop = False
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/doc/requirements.txt
@@ -126,7 +128,6 @@ commands =
oslo-config-generator --config-file=tools/config/ipa-config-generator.conf
[testenv:bandit]
-usedevelop = False
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/test-requirements.txt