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
- Line break added in list comprehension separates variable from its expression
- `# fmt: skip` doesn't work with multiline strings
- Error formatting f-string with `# fmt: off` inside a pair of brackets
- Multi-line strings with type ignore pragma get merged into a single line
- Test organization improvements
- `tests/test_blackd.py` runs out of fds on systems with high nproc (is blackd leaking fds?)
- string-processing f-string debug expressions quotes changed when using conversion
- Prevent f-string merge quote changes with nested quotes
- string-processing: f-strings with quoted debug expressions
- string-processing: F-string with triple quoted string containing single quotes
- Docs
- Python not yet supported