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 supported3 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Reject non-positive --line-length values
- Fix crash on a commented parenthesized assignment target
- Wrap long assigned lambdas in preview style
- Move pragma comments to opening bracket when wrapping statements (#2843)
- Setting the 2027 stable style
- Keep commented expressions together when the comment trails the expression (preview)
- Odd behavior from `black` when handling long `lambda` functions
- Fix crash on `# fmt: off` in an f-string with `=` or a t-string
- Fix --line-ranges not removing selected trailing blank lines
- Restrict unpickling of cache and grammar files
- Docs
- Python not yet supported