← Back to issue list

static: update to newer black

View original Github issue

Metadata

Project
snapcraft
Number
#2599
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged #2599, applying formatting from a newer Black release across 15 files in commit 05913cd56.

Resolution: closed resolved

Reason: PR #2599 was approved and merged, landing commit 05913cd56 with the updated Black formatting.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #2599, applying formatting from a newer Black release across 15 files in commit 05913cd56.
stealth/space-bunny-alpha — closed resolved Merged PR #2599 (commit 05913cd56) by sergiusens, reformatting 15 files (+35/-41) for a newer Black version; follow-up formatting fix landed in #2603 (b442ea48d).
stealth/space-bunny-alpha — closed resolved Merged PR #2599 updated Snapcraft’s formatting to a newer Black version across 15 files, landing as commit 05913cd56.
stealth/space-bunny-alpha — closed resolved Merged PR #2599 in commit 05913cd56, updating Snapcraft to a newer Black release and reformatting 15 files (+35/-41) after maintainer approval.
stealth/space-bunny-alpha — closed resolved Updated Snapcraft formatting to a newer Black version across 15 files (+35/−41). Merged after approval as commit 05913cd56 via #2599.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged an upgrade to the Black code formatter for static checks. The change achieved 85.71% diff coverage per Codecov and was successfully integrated into the main branch.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#2603 (confidence 90%)

    Merged follow-up commit b442ea48d applied minor formatting adjustments resulting from the newer Black version.

Related issues

Issue Project State Summary Similarity
#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.
84%
#2603 black: minor format changes from updated black snapcraft merged Merged #2603 (commit b442ea48d) by cjp256, applying minor formatting-only changes (+4/-6 lines, 4 files) after Black was updated to the 19.10b0 syntax, keeping ./runtests.sh static passing.
82%
#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.
82%
#3853 lint: lint legacy code with black snapcraft merged Merged #3853 as 806bfd04, applying Black formatting to legacy code across 12 files (+84/-37); follow-up #3865 added those files to test-black linting.
77%
#315 style: use black for consistent and automated formatting charmcraft merged Merged Black formatting across 36 files, added a formatting test, and ignored flake8 E203/W503 for Black compatibility in charmcraft#315 (merge commit ad135981).
76%
#1491 style(autoformat): update black to 2024 charmcraft merged Merged PR #1491 in commit 15273c6b, updating Black to the 2024 style and reformatting five Python files.
76%
#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).
75%
#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).
75%
#2606 static: use beta channel for black snapcraft merged Merged PR #2606 in commit adb41b016, updating static tooling to install Black from its beta channel.
73%
#3650 lint: apply autoformat-black to source files snapcraft merged Merged #3650 to scope autoformat-black to source files, matching test-black; landed in commit 0481269c4.
72%