Files
service-types-authority/tox.ini
Stephen Finucane a47c39e281 Apply ruff
'ruff check --fix' and 'ruff format'

Change-Id: Iaf8771c00ade50cac196a0c8e898370cf5e3c052
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-07-17 16:17:48 +01:00

41 lines
587 B
INI

[tox]
minversion = 4.6.0
envlist = pep8,validate,docs
skip_install = true
[testenv]
deps =
-r{toxinidir}/requirements.txt
[testenv:validate]
deps =
jsonschema
commands =
python transform.py -n
[testenv:publish]
commands =
python transform.py
python publish.py
[testenv:pep8]
deps =
ruff
hacking
commands =
ruff check
flake8
[testenv:docs]
commands =
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
[testenv:venv]
commands =
{posargs}
[flake8]
show-source = true
builtins = _
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build