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
- string_processing: duplicates comments when reformatting a multi-line call with comments in the middle
- blackd hangs
- string_processing: Better whitespace allocation for an assert statement
- Inconsistent line splitting of boolean expressions
- Break expression in arguments if the call has comments.
- Black hangs indefinitely trying to format a file with ridiculously long nested dicts
- Parenthesize whole conditional expression with function calls rather than wrap the last function call
- Less whitespace when a function call contains a single list/dict/tuple/string
- Parenthesizing a lambda's body if it contain line wraps
- # fmt: skip failed to skip one-line format
- Docs
- Python not yet supported