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
- Conditional imports: empty line following them
- Normalise "R" string prefix to lower case
- Line too long: Keyword argument
- Remove redundant parentheses from generator expression inside function call
- Brackets around lambda expressions in functions
- Format string annotations and type aliases
- unnecessary parentheses in unpacking aren't removed
- Black not line wrapping tuples with long strings
- Add parenthesis when unpacking precedence is misleading
- fold continuations of one-item collections / one-argument calls
- Docs
- Python not yet supported