mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
Super-linter ran from the unpinned :latest image and, because of branches-ignore: [master], never on pull requests to master. Ruff now checks syntax errors and pyflakes rules (E9, F) on every push and PR. Fixes the existing findings: unused imports and variables, an unused duplicate import in instances/tests.py, and the star import in accounts/views.py. settings-dev.py keeps its star import of the base settings.
11 lines
312 B
TOML
11 lines
312 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"]
|