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
- wrap_comprehension_in: Always wrap if there's delimiters
- Thinking about `wrap_long_dict_values_in_parens`
- Improve fmt:skip handling in nested expressions with checks
- Docs: Better documentation for Jupyter usage
- Internal error when targeting Python 3.14 but running with 3.12
- Trailing comma in `case` pattern causes `if` guard to explode
- Fix #4653 If guard explosion in case statement
- Parenthesize complex expressions passed as keyword arguments or parameter defaults
- Standalone comment within parentheses in lambda default arguments crashes black
- Inconsistencies in how line breaks are added in long "dot-chains", depending on brackets and function calls
- Docs
- Python not yet supported