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
- Do not put multiline literal string into a single line
- Less whitespace when a function call contains a single list/dict/tuple/string
- (🐞) blackd bad f-string fragment causes 500 response
- INTERNAL ERROR when using multiple fmt: skip
- Parenthesizing a lambda's body if it contain line wraps
- AttributeError in format_file_contents
- # fmt: skip failed to skip one-line format
- Black wraps 88-length line when the default 88 line length is set
- Ability to directly specify project root directory from CLI
- dictionary key reference brackets used to split line
- Docs
- Python not yet supported