static: black update to 22 syntax
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main, updating the Black code formatter to v22 syntax. The change passed all checks and introduced a minor 0.07% coverage decrease per Codecov. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to Black formatter syntax version 22. Changes were integrated into main, increasing files and lines, with Codecov noting a minor 0.07% coverage decrease. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #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%. | |
| #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. | |
| #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. | |
| #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%. | |
| #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. | |
| #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. | |
| #1491 style(autoformat): update black to 2024 | charmcraft | merged | 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. |