← Back to issue list

style: ruff 0.11 fixes

View original Github issue

Metadata

Project
snapcraft
Number
#5343
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged Ruff 0.10/0.11 style fixes in #5343, changing two lines in one file, via merge commit ce88542d5.

Resolution: closed resolved

Reason: PR #5343 was approved and merged. Git history records merge commit ce88542d5, with source commit 7bdb82ddb.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- Minor updates for ruff 0.10 and 0.11.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged Ruff 0.10/0.11 style fixes in #5343, changing two lines in one file, via merge commit ce88542d5.
stealth/space-bunny-alpha — closed resolved Merged Ruff 0.10/0.11 style fixes in snapcraft#5343: two lines changed in one file, as recorded by merge commit ce88542d5.
qwen/qwen3.6-35b-a3b — — Merged minor style updates to align with ruff 0.10 and 0.11. Approved by two reviewers, passed CI checks, and merged with minimal changes across one file.
qwen3.6-35b-a3b-mtp-q6 — — Merged maintainer mr-cal's style updates for ruff 0.10 and 0.11. Changes passed lint and test checks and were integrated into the main branch.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5574 style: ruff 0.12 snapcraft merged Merged Ruff 0.12 compatibility and style updates in commit 94a594fd3 after approval by two reviewers.
89%
#165 style: fix linting for ruff 0.12 imagecraft merged Merged #165, incorporating canonical/starbase#408, with a four-file Ruff 0.12 compatibility style update (+7/-7).
83%
#408 style: fix linting for ruff 0.12 starbase merged Merged PR #408 as commit dc41fe4, applying a one-line style change that restored linting compatibility with Ruff 0.12.
82%
#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.
81%
#20 style: fix ruff issue craft-platforms merged Merged PR #20 fixed a Ruff linting issue in one file (+1/-3); resolution is commit 71a165d.
81%
#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.
81%
#1156 style: fix linting errors for ruff 0.12.0 craft-parts merged Ruff 0.12.0 lint fixes merged as PR #1156 (commit eb82b792), correcting style violations in 5 files (+9/-12) after the ruff-pre-commit v0.12.0 bump in #407; all CI checks passed.
80%
#1662 style: autoformat to fix for ruff 0.4 charmcraft merged Merged #1662 as commit b4164211, applying Ruff 0.4-compatible autoformatting across 10 files (+27/-46).
80%
#582 style: ruff 0.16 starbase merged Merged starbase#582 ("style: ruff 0.16", +1/-0) by maintainer mr-cal, adding PLR0917 (too many positional arguments) to the per-file Ruff ignores for tests.
79%
#415 style: fix ruff 0.16 warning craft-store merged Merged PR #415 as commit b24d684, adding a directive to ignore Ruff 0.16's new warning; all CI checks passed.
79%