1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/pyproject.toml
catborise 2f58e18a22 ci: the coverage floor follows the measured 77%, and one leg uploads its report
The floor stayed at 50% while CI measures 77% on every leg; it is now
76%. The Python 3.12 / SQLite leg uploads the HTML report as the
coverage-html artifact, also when the tests fail.
2026-10-18 23:15:12 +03:00

19 lines
564 B
TOML

[tool.ruff]
target-version = "py310"
extend-exclude = ["static"]
[tool.ruff.lint]
# Syntax errors and pyflakes; widen the rule set step by step.
select = ["E9", "F"]
[tool.ruff.lint.per-file-ignores]
# Settings overlay: re-exports the base settings by design.
"webvirtcloud/settings-dev.py" = ["F403", "F405"]
[tool.coverage.run]
source = ["."]
omit = [".venv/*", "*/migrations/*", "*/tests/*", "manage.py", "webvirtcloud/settings*.py"]
[tool.coverage.report]
# CI measures 77% without the live libvirt suite (2026-10-18); raise as tests grow.
fail_under = 76