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 supported4 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- `hex_codes_in_unicode_sequences`: restrictions around f-strings are too strict
- 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
- string_processing: Multi-line strings with type ignore pragma get merged into a single line
- Test organization improvements
- Odd breaking of operators chain
- Support Python 3.13 free-threaded build
- `--line-ranges` formats lines outside of range
- Docs
- Python not yet supported