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 supported3 Subscribers
Add a CodeTriage badge to black
Help out
- Issues
- Fix async statements dropped after a comment-only fmt: off/on block
- Fix unstable formatting of a comment-only fmt: off/on block before a tuple assignment
- Skip the quote regexes when a string body has nothing to escape
- Fix crash on backslash-only lines in code Black leaves as is
- Skip the repeated stability pass in safe mode when the second pass changed nothing
- Format each notebook cell once when it is already formatted
- Fix `# fmt: skip` on a semicolon-separated body on its own line
- Fix crash on `# fmt: skip` on several one-line clauses of a statement
- Document configuration lookup with --stdin-filename
- Bump docker/login-action from 4.7.0 to 4.8.0
- Docs
- Python not yet supported