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
- Breaking `# pyright: ignore[]` used with `# type: ignore[]` comments on short lines
- Add an option to dereference symlinks
- # fmt: off block is partially reformatted
- Format type hints after comments
- Type hint wrapping after comment
- Break long lines at dominant semantic features
- Consider not wrapping a single import when the line is too long
- Black removing extra spaces in docstrings. Breaking markdown formatting
- Trailing comma gives newline on wrong expressions
- Strip even more redundant for parentheses
- Docs
- Python not yet supported