Files
aetos/tox.ini
Jaromir Wysoglad 7c89d7e213 Add first iteration of documentation
This is about the most of documentation I could come up with
at this moment. I tried to follow other telemetry component
documentation, to have similar structure.

Change-Id: Ic1e7fffad33f56f15122ec57cea565b7829c4693
2025-06-16 09:10:04 -04:00

70 lines
1.7 KiB
INI

[tox]
minversion = 4.6.0
envlist = py3,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv =
PYTHONWARNINGS=default::DeprecationWarning
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
OS_TEST_PATH = ./aetos/tests
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs} --test-path {env:OS_TEST_PATH}
[testenv:pep8]
skip_install = true
deps =
pre-commit
commands =
pre-commit run -a
[testenv:venv]
commands = {posargs}
[testenv:cover]
setenv =
VIRTUAL_ENV={envdir}
PYTHON=coverage run --source aetos --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build --keep-going -b html doc/source doc/build/html
[testenv:releasenotes]
deps = {[testenv:docs]deps}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:genconfig]
commands = oslo-config-generator --config-file=etc/aetos/aetos-config-generator.conf
[testenv:genpolicy]
extras =
commands =
oslopolicy-sample-generator --config-file=etc/aetos/aetos-policy-generator.conf
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# W504 line break after binary operator
show-source = True
ignore = E123,E125,W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build