Fix tox.ini with tox4
skipsdist setting breaks the docs environment Change-Id: I778226115c587875e0db995b2641af74a2854015
This commit is contained in:
parent
681b5de6b5
commit
98e079f0d3
5
tox.ini
5
tox.ini
|
@ -1,7 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py3,pep8,releasenotes
|
envlist = py3,pep8,releasenotes
|
||||||
minversion = 3.1.1
|
minversion = 3.1.1
|
||||||
skipsdist = True
|
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -17,7 +16,7 @@ deps =
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.py[c|o]" -delete
|
find . -type f -name "*.py[c|o]" -delete
|
||||||
stestr run --slowest {posargs}
|
stestr run --slowest {posargs}
|
||||||
whitelist_externals = find
|
allowlist_externals = find
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
@ -28,7 +27,7 @@ commands =
|
||||||
flake8
|
flake8
|
||||||
# Check that .po and .pot files are valid:
|
# Check that .po and .pot files are valid:
|
||||||
bash -c "find senlinclient -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 --no-run-if-empty msgfmt --check-format -o /dev/null"
|
bash -c "find senlinclient -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 --no-run-if-empty msgfmt --check-format -o /dev/null"
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue