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 supported2 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Add newline before indentation decrease, except for continuation of logical blocks
- string_processing: reformats to exceed line length and is also ugly
- string_processing: Ugly reformatting of string literal with .format() method
- Breaking `# pyright: ignore[]` used with `# type: ignore[]` comments on short lines
- Add an option to dereference symlinks
- Fix internal magic commas not being force expanded
- Fix printing of emoji on Windows when stdout is redirected
- # fmt: off block is partially reformatted
- `# fmt: skip` ignored in fluent interface
- Format type hints after comments
- Docs
- Python not yet supported