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
- black fails to handle f-string that uses values of dictionary with single quote around key
- Fail to parse multiline `case` statement with `# fmt: skip`
- Please consider making releases immutable
- [pre-commit.ci] pre-commit autoupdate
- Preserve multiline headers with fmt skip
- `# fmt: skip` regression
- Fix standalone comment before binary op causing unnecessary split
- fix(fmt: skip): respect skip directive on multi-line compound statements
- Add validation for --line-ranges values
- Test on Python 3.15
- Docs
- Python not yet supported