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
- Preserve blank lines before a closing fmt: on comment
- Add pre-commit hook configuration for monorepo with multiple Python versions
- Preserve type ignores in attribute chains
- Refactor release process to be more automated and use immutable releases
- Fix typos in changelog
- Empty new line added after docstring when using `--line-ranges`
- Preserve function docstring spacing with line ranges
- Improve formatting performance for subscript chains
- Preserve ruff ignore pragmas when splitting lines
- Quadratic formatting time for chains of subscripts (7s for one 160-subscript line; attribute/call chains stay linear)
- Docs
- Python not yet supported