← Back to issue list

Use black as the default code formatter

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1779765
Type
issue
State
closed
Author
~sergiusens
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Adopting black as the default code formatter was closed without discussion or implementation. The proposal to automate style checks and simplify the hacking guide was abandoned.

Suggested action:

No scores available.

Issue body

black (https://github.com/ambv/black) is building up to be what gofmt is to the go community. Even though the syntax is not in total agreement with what I personally consider stylish, I'd rather have a machine just check for style and end all discussions we have had about how to order and make things look. This will also simplify our hacking guide in some ways.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Adopting black as the default code formatter was closed without discussion or implementation. The proposal to automate style checks and simplify the hacking guide was abandoned.
qwen/qwen3.6-35b-a3b Closed without discussion or implementation, indicating the proposal to adopt black as the default code formatter was abandoned. No formatting standards were updated.
qwen3.6-35b-a3b-mtp-q6 The proposal to adopt black as the default code formatter was closed without discussion or implementation, indicating the suggestion was abandoned. No formatting changes were applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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%.
75%
#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.
72%