style(autoformat): update black to 2024
Metadata
Current evaluation
Merged PR #1491 in commit 15273c6b, updating Black to the 2024 style and reformatting five Python files.
Resolution: closed resolved
Reason: The approved PR was merged as commit 15273c6b. Reported test failures were attributed to the separate craft-providers#502 issue and did not block the merge.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Changes to .py are entirely done by black
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1491 in commit 15273c6b, updating Black to the 2024 style and reformatting five Python files. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft PR #1491 in commit 15273c6b: Black upgraded to 2024, auto-reformatting 5 Python files (+27/-27). Approved by 2 reviewers; author noted test failures came from craft-providers#502. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft PR #1491 in commit 15273c6b, updating Black to 2024 and reformatting five Python files. Reported test failures were attributed to craft-providers#502. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged following two approvals. Updated the Black formatter to the 2024 version, auto-formatting Python code across five files. Reported test failures were unrelated and traced to an external dependency issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged an update to Black to the 2024 version. All Python changes were auto-generated by Black. Test failures were traced to an unrelated external dependency, but the update was successfully merged. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-providers#502
(confidence 95%)
The PR author identified this issue as the cause of the reported test failures.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #638 style: update to black 2024 | craft-parts | merged | Merged PR #638 as commit 423ad779, applying Black 2024 formatting to resolve formatting-related CI failures exposed by #627. | |
| #2180 code: use black as the standard style | snapcraft | merged | Merged PR #2180 made Black the standard Python style, reformatting 567 files; merge commit 96da199ac. | |
| #185 style(black): update black to v24 | craft-application | merged | Merged style PR #185 (commit c4fa7570) bumping Black to v24: adjusted pyproject.toml config and reformatted 4 files (net +8/-12). | |
| #2599 static: update to newer black | snapcraft | merged | Merged #2599, applying formatting from a newer Black release across 15 files in commit 05913cd56. | |
| #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. | |
| #1779765 Use black as the default code formatter | snapcraft (launchpad) | closed | Merged canonical/snapcraft#2180, adopting Black as the standard Python style and reformatting 567 files in commit 96da199ac. | |
| #4029 lint: reformat for black 23.1.0 | snapcraft | merged | Merged PR #4029 (commit 51c24948) reformatting 66 files for Black 23.1.0. The only failing check was a setuptools>=66 unit-test breakage, fixed separately by #4031 pinning setuptools<66. | |
| #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). |