← Back to issue list

lint: Specify a single ruff version

View original Github issue

Metadata

Project
craft-archives
Number
#11
Type
pull request
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Superseded by the matching Ruff pin in commit 0f3d7d0 (recorded with #21), restricting updates to Renovate or explicit PRs.

Resolution: closed superseded

Reason: The identical Ruff-pinning change landed as commit 0f3d7d0, whose subject references PR #21, rather than through PR #11. That later change implemented the requested single-version control.

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.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Superseded by the matching Ruff pin in commit 0f3d7d0 (recorded with #21), restricting updates to Renovate or explicit PRs.
stealth/space-bunny-alpha — closed resolved Pinned the ruff version in the lint configuration, restricting updates to Renovate or explicit PRs to prevent CI breakages.
qwen/qwen3.6-35b-a3b — — Closed to pin the ruff version in the lint configuration, preventing CI breakages until the tool stabilizes.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/craft-archives#21 (confidence 82%)

    Commit 0f3d7d0 has the same Ruff-pinning title and change and references #21.

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.
93%
#358 lint: specify a single ruff version craft-parts merged Merged PR #358 pinned the Ruff pre-commit hook to one version, restricting updates to Renovate or explicit PRs to prevent unintended CI breakage.
91%
#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.
74%
#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.
73%
#481 build: update ruff settings rockcraft closed Ruff lint-config tweak PR closed unmerged; maintainer lengau closed it 2024-08-28 as superseded by #675 ("style(lint): replace pylint with ruff", merged as commit b7d70598).
73%
#444 lint: change ruff config to require `-> None` craft-parts merged Merged PR #444 updated Ruff configuration to require explicit `-> None` return annotations, removing the permissive ANN401 setting.
73%
#56 lint: stricter ruff rules starbase closed Closed unmerged because the stricter Ruff configuration landed through canonical/starbase#55 in commit b5cda0d.
72%
#319 style: update linting configuration for ruff 0.9 starbase merged Ruff 0.9 lint configuration update merged into main via commit 45ab05b (PR #319). The unrelated git_describe_command suggestion was deferred to PR #321.
72%
#1737 style: fix linting for ruff 0.5 charmcraft merged Merged PR #1737 as commit 8994523e, updating one file (+2/-6) to fix linting under Ruff 0.5.
71%
#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.
71%