isort
https://github.com/pycqa/isort
Python
A Python utility / library to sort imports.
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 isort
Help out
- Issues
- fix: keep symlink discovery within Git project boundaries
- Support f-strings in sorted literals
- Support f-strings when sorting literals
- Non-idempotent output when an imported name carries an inline comment
- length_sort with native sort order puts a longer import first
- Fix skip path matching on Windows
- isort turns a valid file into one that cannot be parsed, and --check passes it
- Fix split directives on complete multiline imports
- isort: split on a paren import needs two passes; --check rejects isort's own output
- float_to_top leaves a stray ')' when a paren import ends with isort: split
- Docs
- Python not yet supported