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
- Crash on formatting `case case` syntax when line length set to be small
- problematic formatting: indentation change in docstring
- Trailing commas in function params cause line splits in type params instead
- Black removes blank lines in between a function and a decorated class in a stub file
- Added test for the Khmer language
- Bug hazard - multiple strings given same indentation
- Vertical method chaining
- [WIP] Allow Black to use a different Python version than Vim
- Black joins lines when it shouldn't - short width characters.
- Option to force "chop down" multiline (+ add magic comma) when line too long
- Docs
- Python not yet supported