1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/pyproject.toml
catborise c1744402b4 chore(ci): the coverage floor keeps one point of room on the PostgreSQL leg
The floor applies to every CI leg; the PostgreSQL leg skips more tests
and measures 85.3% (SQLite 86%), so a floor of 85 left it 0.3 points.
84 keeps the one point of room the floor is meant to have.
2026-10-23 16:21:31 +03:00

20 lines
610 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]
# The lowest leg (PostgreSQL) measures 85% without the live libvirt suite
# (2026-10-23); one point of room. Raise as tests grow.
fail_under = 84