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
- Fix typos in changelog
- Improve formatting performance for subscript chains
- Quadratic formatting time for chains of subscripts (7s for one 160-subscript line; attribute/call chains stay linear)
- Fix target version inference for strict-greater requires-python specifiers
- `ruff:ignore` should be processed as a pragma in `contains_pragma_comment`
- Format symmetric list concatenations in preview
- Prefer splitting whole boolean conditions
- Memory Optimizations
- Fix preview split for commented method chains
- Potential memory optimizations
- Docs
- Python not yet supported