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
- Nested .gitignore negations can never re-include what an ancestor excluded
- Warn before formatting the filesystem root
- Fix long keyword argument values exceeding line length
- Preserve trailing blank lines in unclosed # fmt: off blocks
- Formatting a dictionary with a long string and type ignore fails on --unstable
- Fix a crash when `# type: ignore` is lost during formatting
- Honor .gitignore negations of directories (#3694)
- Avoid repeated RHS splits for flat subscript chains
- Preserve type ignores in attribute chains
- Refactor release process to be more automated and use immutable releases
- Docs
- Python not yet supported