Fix issues related to tox4
Change-Id: I7be9a22796f484df79f0f509a2cf4f47e3a00128
This commit is contained in:
parent
84478d83f8
commit
515daab81a
9
tox.ini
9
tox.ini
@ -1,12 +1,9 @@
|
||||
[tox]
|
||||
minversion = 3.2.0
|
||||
distribute = False
|
||||
envlist = py3,pep8
|
||||
ignore_basepython_conflict = true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
find
|
||||
setenv =
|
||||
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
|
||||
@ -43,7 +40,7 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
whitelist_externals = rm
|
||||
allowlist_externals = rm
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
@ -60,7 +57,7 @@ commands =
|
||||
bandit -r oslo_config -x tests -n5
|
||||
|
||||
[testenv:releasenotes]
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
rm
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
|
Loading…
Reference in New Issue
Block a user