style(autoformat): update black to 2024
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Changes to .py are entirely done by black
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to Black 2024. All Python files were automatically reformatted. Initial test failures were caused by an external craft-providers dependency but did not block the merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #638 style: update to black 2024 | craft-parts | merged | Merged Black 2024 formatting updates to resolve CI failures. Approved by two reviewers with passing checks. | |
| #185 style(black): update black to v24 | craft-application | merged | Merged update to Black v24, modifying pyproject.toml and auto-formatting four files. Approved by two reviewers, passed CI, and maintained 99.28% test coverage. | |
| #315 style: use black for consistent and automated formatting | charmcraft | merged | Merged after two approvals. Adopted Black for automated formatting across 36 files, added a formatting test, and configured flake8 to ignore conflicting rules. Increased the line length limit to accommodate Black's output. | |
| #3722 static: black update to 22 syntax | snapcraft | merged | Merged update to Black formatter v22 syntax across 55 files. Approved by reviewer, passed CI, and integrated into main despite a minor 0.08% coverage decrease. | |
| #2603 black: minor format changes from updated black | snapcraft | merged | Minor formatting updates from the updated black code formatter were reviewed, approved, passed CI checks, and successfully merged into the main branch. | |
| #3650 lint: apply autoformat-black to source files | snapcraft | merged | Merged following maintainer approval and passing CI. The update modifies the lint configuration to apply autoformat-black exclusively to source files, aligning it with test-black behavior. | |
| #2599 static: update to newer black | snapcraft | merged | Merged after reviewer approval and passing CI. Updated the codebase to a newer Black formatter version across 15 files (+35/-41 lines). Codecov reported 85.71% diff coverage, flagging a missing base commit upload. | |
| #554 Update black to 24 | rockcraft | closed | Resolved through pull request #540. The Black formatter was updated to version 24, and the issue was closed after the PR was merged to maintain current code standards. | |
| #2180 code: use black as the standard style | snapcraft | merged | Merged after approval and CI checks. Adopted Black as the standard code formatter, reformatting 567 files with 39,831 additions and 33,762 deletions. Diff coverage reached 90.92%. |