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
- Support inline per-file target version
- Line break rules (on binary operators)
- provide a git merge driver
- Line splitting on conditional operators should take precendence over splitting on function parameters
- Enable cache for --diff
- make line wrapping better for inline if statements with comments in function args
- Do not split `assert` conditions on multiple lines
- Speed regression since 19.10b0 on large collection
- New version removes blank in doctest, so all doctests fail.
- Black doesn't add a trailing comma to split single argument function calls.
- Docs
- Python not yet supported