← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged an update to the static code formatting tool, upgrading to a newer version of Black. The change was integrated into the main branch with Codecov reporting 85.71% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
89%
#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.
82%
#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%.
82%
#3853 lint: lint legacy code with black snapcraft merged Merged following reviewer approval and passing CI. Applied Black formatting to legacy code across 12 files, resulting in 84 additions and 37 deletions. Code coverage remained stable at 88.16%.
80%
#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.
79%
#2606 static: use beta channel for black snapcraft merged Merged after approval by two reviewers. Updates static tooling to use the beta channel for the black formatter. Changes span two files (+4/-2 lines). Integration completed with zero unresolved comments.
78%
#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.
77%
#3865 lint: lint legacy code with black snapcraft merged Merged updates to the test-black lint command to include legacy code, aligning it with autoformat-black. Approved by a maintainer, passed CI checks, and merged without affecting code coverage.
77%
#3183 static: prepare for update to black 19.10b0 snapcraft merged Merged after approval. Updates static analysis for Black 19.10b0. Modifies one file with nine additions and eight deletions. Approved with no unresolved comments or CI issues.
76%
#119 style: replace black with ruff formatter craft-archives merged 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.
74%