lint: specify a single ruff version
Metadata
Current evaluation
Merged PR #358 pinned the Ruff pre-commit hook to one version, restricting updates to Renovate or explicit PRs to prevent unintended CI breakage.
Resolution: closed resolved
Reason: Approved PR #358 was merged as commit 0f3d7d0, implementing the single-version Ruff configuration described in the PR.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Ensure that ruff only gets updated by renovate or explicitly in PRs. This will prevent random CI breakages until ruff is stable.
Related: https://github.com/canonical/starbase/pull/21
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #358 pinned the Ruff pre-commit hook to one version, restricting updates to Renovate or explicit PRs to prevent unintended CI breakage. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit 0f3d7d0, pinning Ruff to one version so updates require Renovate or an explicit PR, reducing unintended CI breakage. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a single-line change pinning ruff to a fixed version to prevent CI breakages from automatic updates. Approved by one reviewer and passes all checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a change to pin ruff to a single version in the lint configuration. This prevents unexpected CI breakages by restricting updates to Renovate or explicit pull requests until the tool stabilizes. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/starbase#21
(confidence 98%)
The PR body explicitly links starbase#21, which applied the same Ruff version-pinning approach.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #21 lint: specify a single ruff version | starbase | merged | Merged PR #21 as commit 0f3d7d0, pinning Ruff to one version so updates require Renovate or an explicit PR, avoiding unexpected CI breakage. | |
| #11 lint: Specify a single ruff version | craft-archives | closed | Superseded by the matching Ruff pin in commit 0f3d7d0 (recorded with #21), restricting updates to Renovate or explicit PRs. | |
| #29 style(lint): fix ruff 0.6.0 linting errors | craft-platforms | merged | Merged PR #29 as commit 399c4e0, fixing Ruff 0.6.0 lint errors and switching the pre-commit Ruff hook to rolling versions. | |
| #33 lint: fix lint issues with newer ruff | craft-archives | merged | PR #33 merged as commit c2a6687, fixing new lint failures introduced by a newer Ruff release across3 files (+5/-3). Maintainer deferred extra unit tests to CRAFT-1641. | |
| #624 style(lint): fix ruff 0.6.0 linting errors | craft-providers | merged | Merged as commit 823622d, fixing Ruff 0.6.0 lint errors and switching the pre-commit Ruff hook to rolling versions. | |
| #113 update ruff pre-commit | craft-platforms | merged | Merged #113, updating Ruff's pre-commit configuration; the change landed in commit 1740611. | |
| #68 lint: update ruff and fix linting | craft-archives | merged | Merged PR #68 as commit 8bb81ae, updating Ruff and fixing lint violations across four files after prerequisite #67. | |
| #173 style: fix lint for ruff 0.12 | craft-archives | merged | Merged PR #173 as commit 53d732e, fixing lint for Ruff 0.12 while retaining Ruff 0.11 compatibility; all CI checks passed. | |
| #4016 Freeze ruff version | snapcraft | merged | Merged #4016 as 5b8ad3d08, pinning Ruff in pre-commit and development requirements so upstream lint changes arrive through Renovate PRs. | |
| #139 style: stricter ruff linters | starbase | merged | PR #139 was merged as commit a48d590, adding stricter Ruff lint rules across six files while retaining 100% test coverage. |