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
- gitignore patterns with trailing slashes are incorrectly handled
- Black is wrapping type hints with arguments when using multi-line string literals
- `# fmt: skip` ignored in `if` conditionals
- Addition of type ignore causes undesirable splitting on another line
- with statement with type comment
- problem parsing with statements
- (🎁) Remove redundant parenthesis in `getitem`/indexing operator
- Exceptions to comment spacing
- Multi-line raw strings do not get merged properly into a single string
- string_processing: duplicates comments when reformatting a multi-line call with comments in the middle
- Docs
- Python not yet supported