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
- Enable enable-unstable-feature = ['string_processing'] without preview flag
- Line too long: Long from import
- Preview style feedback: Parenthesizing long dict, conditional, and type annotations
- Don't hug parens if it would mean putting two `# type: ignore` comments on the same line
- hug_parens_with_braces_and_square_brackets: "Black produced code that is not equivalent to the source" error in preview mode on function call with two `type:ignore` comments
- Support for percent format notebooks
- Guide for neovim? I Found one for vim but not sure how to apply it to neovim.
- Request: supporting sub-configs (aka per-directory config)
- Black puts "pyright: ignore" comments on the wrong line
- Black 23.9.1 reformat already clean code expression and creates a line too long
- Docs
- Python not yet supported