Add dependency flavour "lint" #176
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20261110-add-the-lint-dependency-flavour-and-drop-the-imports-it-flags"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is the designed to be the first in a succession of PRs to further tighten static code checks. Currently CI doesn't run
ruffandpyrightchecks, because they're not in the dependencies. Add them to OpenSUSE first, and fix the fallout.lib.FilesContext: Drop unused and duplicate imports test
Ruffcomplains about unused and duplicate imports inFilesContext's test, fix that.topdir.mk, project.conf: Add new dep flavour "lint"
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
pyrightandruffin its core repositories. That should be enough for a first canary in CI. Tighter linting should be added by follow-up PRs.Add the lint dependency flavour and drop the imports it flagsto Add lint dependency flavourAdd lint dependency flavourto Add dependency flavour "lint"