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 supported3 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Handled #4353: Long lines that concatenate list comprehensions
- Try multiprocessing parallelism improvement
- wrap_comprehension_in: Always wrap if there's delimiters
- Thinking about `wrap_long_dict_values_in_parens`
- Inconsistencies in how line breaks are added in long "dot-chains", depending on brackets and function calls
- `hex_codes_in_unicode_sequences`: restrictions around f-strings are too strict
- Change the formatting behaviour when there is bracket in the if statement, like a list, a function
- Test organization improvements
- Odd breaking of operators chain
- Support Python 3.13 free-threaded build
- Docs
- Python not yet supported