mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
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.
19 lines
564 B
TOML
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
|