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
- Preview style feedback: Parenthesizing long dict, conditional, and type annotations
- Bump actions/upload-artifact from 3 to 4
- `hug_parens_with_braces_and_square_brackets`: Recursively hugging parens decrease readability
- `hug_parens_with_braces_and_square_brackets`: Doesn't hug if all entries fit on a line
- don't split binary operation if right operand is a function call with short name
- Break long expressions at operators, not inside inner parentheses
- Wrapping lines of a function signature that uses the new python 3.12 generic type parameter syntax
- Add parenthesis around walrus
- Improve `adjusted_lines`'s diff algorithm used in `--line-ranges`.
- Black fails to keep within line length limit when using named parameters
- Docs
- Python not yet supported