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
- Keep long single-name from imports on one line in preview
- docs: fix typos in FAQ
- Fix crash on a skipped async def header with a `...` body
- Fix --line-ranges producing invalid code for stacked decorators in 2-space or tab-indented code
- Parenthesize one-item sequence patterns in case statements
- Keep parens around comparison operands with string trailers
- docs: fix typos
- Fix blackd startup on Windows with more than 61 logical CPUs
- Fix `# fmt: skip` combined with `# fmt: off` / `# yapf: disable` in the same comment
- Reject non-positive --line-length values instead of silently accepting them
- Docs
- Python not yet supported