← Back to issue list

style: replace black with ruff formatter

View original Github issue

Metadata

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

Current evaluation

Merged PR #119 replaced Black with the Ruff formatter across 14 files (+42/-21), completing the style migration.

Resolution: closed resolved

Reason: PR #119 was merged into the main branch, resolving the formatting change. The merge is recorded as commit a3d6971.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [ ] 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 #119 replaced Black with the Ruff formatter across 14 files (+42/-21), completing the style migration.
stealth/space-bunny-alpha — closed resolved Merged PR #119, replacing Black with Ruff formatting across 14 files (+42/-21).
qwen/qwen3.6-35b-a3b — — Merged after approval by two reviewers. Replaced the Black code formatter with Ruff across 14 files, resulting in 42 additions and 21 deletions. The update successfully modernizes the project's formatting toolchain.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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).
91%
#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.
84%
#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.
80%
#439 style: migrate from black to ruff for formatting craft-providers closed Ruff formatting migration was abandoned unmerged after the team considered `ruff format` too experimental.
78%
#3722 static: black update to 22 syntax snapcraft merged Merged PR #3722 (branch 'black', commit 3afcb2ade, merge commit 24ce5d5b0) into main, reformatting 55 files for Black 22 syntax; a prerequisite cleanup for the later switch from black to the ruff formatter.
77%
#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).
74%
#255 style: autoformat with ruff 0.9 craft-store merged Merged PR #255 as commit 11c4c21, applying Ruff 0.9 autoformatting to five files (+22/-22) after two approvals.
74%
#146 migrate to `ruff` craft-cli closed Closed without a documented fix; Ruff was later enabled via #204 (commit 09b91ba), with Black replaced by Ruff formatting in #212.
73%
#5343 style: ruff 0.11 fixes snapcraft merged Merged Ruff 0.10/0.11 style fixes in #5343, changing two lines in one file, via merge commit ce88542d5.
73%
#5574 style: ruff 0.12 snapcraft merged Merged Ruff 0.12 compatibility and style updates in commit 94a594fd3 after approval by two reviewers.
73%