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(parse): keep statements after balancing close-paren in parenthesized imports
- fix(parse): keep statements after balancing close-paren in parenthesized imports
- Keep the grouping of commented `from` imports stable across runs
- fix(sorting): keep length_sort in length order under native sort_order
- Count the opening-line comment when wrapping an aliased import
- An aliased import with an opening-line comment goes past line_length, and isort and black keep rewrapping it
- imports: simplify alias comment preservation
- Apply command line options with --resolve-all-configs
- parse: classify from-imports by nested module
- Fix __all__ literal at its end when using --sort-reexports (#2286)
- Docs
- Python not yet supported