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
- don't split binary operation if right operand is a function call with short name
- Break long expressions at operators, not inside inner parentheses
- Add parenthesis around walrus
- Support for percent format notebooks
- Avoid parentheszing non-fluent attribute chain exceeding the line-length
- Request: new releases triggering `black-pre-commit-mirror`'s `mirror` action
- (🎁) String processing: re-enable wrap concatenated strings in parens in all cases
- Request: supporting sub-configs (aka per-directory config)
- Black puts "pyright: ignore" comments on the wrong line
- Formatting one-tuples as multi-line if already multi-line
- Docs
- Python not yet supported