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
- Support version specifiers in `tool.black.required-version` for GitHub Action (fixes #4406)
- Keep a trailing comment on optional parentheses that contain own-line comments
- Avoid looking at __class__.__name__ in run_transformer (#2432)
- docs: fix grammar in double-quote rationale (a one -> a single)
- Fall back to the default configuration when sources share no project root
- Honor negations in nested .gitignore files
- Report Black's own parse failure as an internal error
- `find_project_root` raises `ValueError` for sources on different Windows drives
- Format a call whose sole argument is a parenthesized generator under --preview
- Fix delimiter splitting after standalone comments
- Docs
- Python not yet supported