← Back to issue list

style(lint): fix ruff 0.6.0 linting errors

View original Github issue

Metadata

Project
craft-application
Number
#423
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #423 as commit 2f56f14b, applying ruff check --fix across 21 files (+70/-70) to clear the new Ruff 0.6.0 lint errors. Approved by 2 maintainer reviewers.

Resolution: closed resolved

Reason: The PR itself was merged into main as commit 2f56f14b with the title "style(lint): fix ruff 0.6.0 linting errors (#423)", confirmed in the repository history. It delivered the mechanical autofixes (21 files, +70/-70 lines) generated by running ruff check --fix after the Ruff 0.6.0 release, with review approved and no unresolved comments.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Run using `ruff check --fix` - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #423 as commit 2f56f14b, applying ruff check --fix across 21 files (+70/-70) to clear the new Ruff 0.6.0 lint errors. Approved by 2 maintainer reviewers.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-application#423 as 2f56f14b, applying ruff check --fix across 21 files to resolve Ruff 0.6.0 lint errors.
qwen/qwen3.6-35b-a3b — — Merged after two approvals and passing CI. Resolves ruff 0.6.0 linting errors across 21 files using ruff check --fix, applying automated style corrections to align with the updated linter version.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-providers#624 (confidence 90%)

    Sibling Canonical craft-repo PR with the same title, fixing Ruff 0.6.0 lint errors and switching pre-commit to rolling ruff versions.

  • Related To: canonical/craft-platforms#29 (confidence 88%)

    Matching Ruff 0.6.0 lint-fix PR in another Canonical craft project, part of the same cross-repo cleanup effort.

  • Related To: canonical/charmcraft#1825 (confidence 85%)

    Analogous Ruff 0.6.0 autofix PR merged as commit 7aa2965b across 31 files.

Related issues

Issue Project State Summary Similarity
#1825 style(lint): fix ruff 0.6.0 linting errors charmcraft merged Merged PR #1825 as commit 7aa2965b, applying Ruff 0.6.0 autofixes across 31 files to resolve linting errors.
94%
#4981 style(lint): fix ruff 0.6 linting errors snapcraft merged Merged PR #4981 as commit 3a1b8a949, fixing Ruff 0.6 lint errors with a minimal one-file change.
92%
#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.
91%
#815 fix linting issues for ruff 0.6 craft-parts merged Merged PR #815, applying Ruff 0.6 autofixes and manual lint corrections across 44 files (+98/-98).
91%
#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.
90%
#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.
89%
#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.
88%
#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.
88%
#969 style: fix linting issues for ruff 0.9 craft-parts merged Merged as commit f1427855: small Ruff 0.9 lint fixes (+2/-1) across 2 files, following the ruff-pre-commit hook bump to the 0.9.x series.
87%
#357 style: fix lints from ruff 0.12 craft-cli merged Merged as dd635c9, fixing new Ruff 0.12 lint errors across seven files (+11/-10); all CI checks passed.
87%