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
- Inferred project root and config file are not aligned
- jupyter notebook files and pycharm filewatcher: Following files have changes that cannot be undone
- Consistent handling of too long lines due to directives (no special treatment of `# type: ignore`)
- Do not add empty lines before `# endregion` comments
- Ability to exclude files/paths with glob
- Ability to view which files black will actually run on
- Leave alone Quarto-style comments ("#|")
- Tests do not reflect real-world CLI file-discovery behavior
- Double list index results in newline
- A single conditional expression inside a list is unnecessarily parenthesized
- Docs
- Python not yet supported