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 target version inference for strict-greater requires-python specifiers
- fix(comments): treat # ruff: comments as pragmas in contains_pragma_comment
- fix(pytree): initialize bracket_depth in Leaf __init__
- feat(cache): support custom_cache_dir parameter in get_cache_dir and get_cache_file
- `ruff:ignore` should be processed as a pragma in `contains_pragma_comment`
- Treat Ruff ignore comments as pragmas
- Format symmetric list concatenations in preview
- Prefer splitting whole boolean conditions
- Bump wcwidth from 0.2.14 to 0.8.2
- Memory Optimizations
- Docs
- Python not yet supported