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
- A comment before a multiplication line inside a func call makes the line unnecessarily explode
- Decouple using .gitignore from `exclude`
- Unstable formatting: Comment is moved to lower line twice
- Black crashes on files containing `\r`, from e.g. old MacOS
- 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
- Docs
- Python not yet supported