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
- Line wrapping on generic functions using the type parameter syntax
- Black 23.9.1 reformat already clean code expression and creates a line too long
- Long string in return annotation does not get split if there's parameters
- Formatting one-tuples as multi-line if already multi-line
- Parenthesize singleton yield tuples
- fuzzy testing with pysource_codegen
- Black should never try to format symlinks
- Failure to consistently format inline type comments on a multi-line attribute access
- string_processing: Error when re-flowing implicitly concatenated r-strings
- Undesired line breaks when using multiple assignments
- Docs
- Python not yet supported