black
https://github.com/psf/black
Python
The uncompromising Python code formatter
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported2 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Replace the blib2to3 tokenizer with pytokens
- `# fmt: skip` is not being respected with one-liner functions
- `hex_codes_in_unicode_sequences`: restrictions around f-strings are too strict
- Setting the 2025 stable style
- Stability issue with long comment in parentheses
- Freeze/bad performance on escaped quotation in f-string
- Change the formatting behaviour when there is bracket in the if statement, like a list, a function
- Line break added in list comprehension separates variable from its expression
- `# fmt: skip` doesn't work with multiline strings
- Error formatting f-string with `# fmt: off` inside a pair of brackets
- Docs
- Python not yet supported