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 supported4 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Added option to manually specifiy project root
- fold continuations of one-item collections / one-argument calls
- List concatenation, multiple lines
- Any advice for existing projects transitioning to black?
- Docstrings should be forced to use triple quotes
- Prefere linebreaks on binary operators over linebreaks at function parentheses
- Inconsistent line breaking and parenthesis with pow and floor-div
- add support for Github Annotations
- black misses some files when running against a directory (non-root directory "build")
- normalize 1-line triple quoted strings to regular strings (outside of docstrings)
- Docs
- Python not yet supported