openstackclient/tox.ini
Stephen Finucane 0c048098bc tox: Random cleanups
Change-Id: Ib62f264e817d77ed6cda47daeaaa2994fc5d9f01
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:42 +00:00

30 lines
671 B
INI

[tox]
minversion = 4.3.0
envlist = py3,pep8,docs
[testenv]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
commands =
stestr run --slowest {posargs}
[testenv:pep8]
commands =
flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[flake8]
show-source = True
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
ignore = E123,H405,W504