Add dependency flavour "lint" #176

Merged
Jan Lindemann merged 2 commits from jan/feature/20261110-add-the-lint-dependency-flavour-and-drop-the-imports-it-flags into master 2026-11-10 11:40:35 +01:00 AGit

2026-11-10

topdir.mk, project.conf: Add new dep flavour "lint"
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m10s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m43s
CI / Packaging test (pull_request) Successful in 0s
Add a new dependency flavour named "lint", in addition to the existing
flavours run, build, devel and release, to declare the dependencies needed
for static linting. Those are deliberately not lumped into the build
flavour, because that might add dependencies that are hard to satisfy on
some platforms that should remain buildable.

Start easy, with OpenSUSE only, because Tumbleweed provides pyright and
ruff in its core repositories. That should be enough for a first canary in
CI. Tighter linting should be added by follow-up PRs.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.1
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-10 11:29:38 +01:00
lib.FilesContext: Drop unused and duplicate imports test
Ruff complains about unused and duplicate imports in FilesContext's test,
fix that.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-10 11:29:38 +01:00