tox: Random cleanups
Change-Id: Ib62f264e817d77ed6cda47daeaaa2994fc5d9f01 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
682845902d
commit
0c048098bc
23
tox.ini
23
tox.ini
@ -1,15 +1,15 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.1.0
|
minversion = 4.3.0
|
||||||
envlist = py37,pep8,docs
|
envlist = py3,pep8,docs
|
||||||
ignore_basepython_conflict = true
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
deps =
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
commands = stestr run --slowest {posargs}
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
commands =
|
||||||
|
stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps=-r{toxinidir}/test-requirements.txt
|
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
|
|
||||||
@ -17,12 +17,13 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps =
|
||||||
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E123,H405,W504
|
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
|
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
|
||||||
|
ignore = E123,H405,W504
|
||||||
|
Loading…
Reference in New Issue
Block a user