mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
The suite grew from 848 to 1376 tests since the floor was set; the same coverage run CI does measures 86% (was 77%). The floor keeps one point of room, as before.
19 lines
552 B
TOML
19 lines
552 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]
|
|
# 86% without the live libvirt suite (2026-10-23); raise as tests grow.
|
|
fail_under = 85
|