← Back to issue list

style(lint): move from black to ruff

View original Github issue

Metadata

Project
charmcraft
Number
#1960
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged Charmcraft’s Black-to-Ruff migration across 122 files in commit d2b40dfb.

Resolution: closed resolved

Reason: PR #1960 was approved by two reviewers and merged with no unresolved comments. Repository history records the Black-to-Ruff switch in commit d2b40dfb.

Evaluated by: mr-cal-bot

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged Charmcraft’s Black-to-Ruff migration across 122 files in commit d2b40dfb.
stealth/space-bunny-alpha — closed resolved Merged Imagecraft's lint migration from Black to Ruff across 122 files (+1778/-557), approved by two reviewers with no unresolved review comments.
stealth/space-bunny-alpha — closed resolved Merged after maintainer approval, replacing Black with Ruff and reformatting 122 files (+1778/−557). No body, comments, or reported CI failures.
qwen/qwen3.6-35b-a3b — — Merged after two approvals and passing CI. Replaced Black with Ruff across 122 files, updating 1778 lines and removing 557 to modernize the linting configuration.
qwen3.6-35b-a3b-mtp-q6 — — Merged a maintainer pull request to replace the black code formatter with ruff. The update streamlines linting and formatting workflows by consolidating tooling and improving performance.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#119 style: replace black with ruff formatter craft-archives merged Merged PR #119 replaced Black with the Ruff formatter across 14 files (+42/-21), completing the style migration.
73%
#739 style: switch from black to ruff craft-providers merged Merged #739 as commit 2b9c894, replacing Black with Ruff formatting across 23 files in preparation for Starbase adoption.
73%
#1662 style(lint): auto-fix with ruff craft-parts merged Merged Ruff auto-fixes across six files after maintainer review; canonical/craft-parts#1662 landed as commit 2be2b462 (+80/-58).
72%
#2383 style: update to ruff 0.12 charmcraft merged Merged PR #2383 updated Charmcraft to Ruff 0.12 and applied the associated lint and formatting changes across nine files.
72%
#4012 linters: migrate to ruff snapcraft merged Merged PR #4012 (commit a6e7d5f9d, CRAFT-1505): replaced the flake8/isort/black lint setup with Ruff, config ported from craft-parts#337, plus a legacy-specific ruff.toml; dependency updates from #4011 were included.
72%
#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.
72%
#2229 style: fix linting errors charmcraft merged Merged charmcraft#2229 as commit 134e1cb6, fixing lint failures from the latest Ruff and Pyright across eight files.
71%
#1577 style(lint): enable some previously-ignored ruff rules charmcraft merged Merged PR #1577 in commit 1b650062, enabling previously ignored Ruff rules and applying related lint/style changes across 10 files.
70%
#212 style: replace black formatter with ruff format starbase merged Merged PR #212 as commit aae9d00, replacing Black with Ruff format across seven files (+26/-10).
70%
#1084 build(style): switch from black to ruff craft-parts merged Merged #1084 as commit b28a1dfc, replacing Black with Ruff and autoformatting 32 files; all CI checks passed.
70%