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
- Formatting one-tuples as multi-line if already multi-line
- string_processing: Long dictionary and f-string not formatted after breaking first line
- (🎁) Remove redundant parenthesis in `getitem`/indexing operator
- Fix "# pyright: ignore" comment mobility
- Parenthesize whole conditional expression with function calls rather than wrap the last function call
- Less whitespace when a function call contains a single list/dict/tuple/string
- Fix target version inference.
- Ability to view which files black will actually run on
- Github action now reports state of execution #3531
- Format attribute `# fmt: wrap-list=16` to specify format of large arrays
- Docs
- Python not yet supported