build(lint): use ruff from snap
Metadata
Current evaluation
Merged. Switched CI linting from pyright to ruff installed via snap to ensure toolchain stability. Approved by two reviewers, passed all checks, and updated five files with a +7/-3 line change.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Switched CI linting from pyright to ruff installed via snap to ensure toolchain stability. Approved by two reviewers, passed all checks, and updated five files with a +7/-3 line change. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Replaced pyright with Ruff installed via snap to stabilize the CI pipeline, as Ruff's versioning policy prevents unexpected breakages from upstream updates. The change passed all lint and test checks with stable coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Switched CI linting to Ruff via snap to prevent version breakage and improve stability. Maintainers confirmed Ruff's predictable release cycle suits continuous integration better than Pyright, with coverage stable at 88.33%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #206 build: use ruff from snap | craft-application | merged | Merged to update the build configuration to use ruff from snap. Approved by two reviewers, passed CI checks, and applied minimal changes across four files. | |
| #165 style: fix linting for ruff 0.12 | imagecraft | merged | Merged a pre-emptive linting update for ruff 0.12 compatibility. Approved by two reviewers and passed CI. The change adjusts formatting across four files to prevent breaking changes when the snap reaches stable. | |
| #207 build(deps): use ruff from snap | craft-store | merged | Merged update to use ruff from snap for build dependencies. Approved by two reviewers with six lines added and four removed across four files. No CI failures reported. | |
| #68 lint: update ruff and fix linting | craft-archives | merged | Merged into main following reviewer approval and passing CI. Updates ruff configuration and resolves linting issues across four files, maintaining 100% diff coverage with no overall coverage change. | |
| #580 style(ruff): fix linting issues from ruff update | craft-application | merged | Merged after approval by three reviewers. Resolves linting errors from a ruff update, modifying three files with a +7/-7 line change. Successfully integrated into the codebase. | |
| #4981 style(lint): fix ruff 0.6 linting errors | snapcraft | merged | Merged after receiving two approvals and passing CI checks. Resolves ruff 0.6 linting errors with a minimal one-file change. | |
| #33 lint: fix lint issues with newer ruff | craft-archives | merged | Merged to resolve linting failures introduced by a newer ruff version. Changes fix style checks across three files. Review approved, CI passed, and coverage remained unchanged. Additional unit tests were deferred to a separate tracking ticket. | |
| #236 build: update ruff settings | craft-cli | merged | Merged following approval from two reviewers and passing CI checks. The change updates ruff configuration settings with a five-line modification to align linting rules. | |
| #408 style: fix linting for ruff 0.12 | starbase | merged | Merged a one-line update to resolve linting errors for ruff 0.12. Approved by two reviewers and passed all CI checks before integration. | |
| #1465 style: fix linting issues for newer ruff | craft-parts | merged | Merged after two approvals and passing all CI checks. Resolves linting compatibility issues with newer ruff versions, updating five files. |