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 supported3 Subscribers
Add a CodeTriage badge to isort
Help out
- Issues
- Stop swallowing a statement that immediately follows a sorted literal
- Group plain imports
- Deprecate inspection of shebang lines to determine if file is supported
- fix: keep comment-only lines inside from-import groups
- Feature Request: add support for global config using $XDG_CONFIG_HOME
- Support explicit lazy imports in Python 3.15 (PEP 810)
- `--fss` may lead to incorrect import separation for mixed multi-line and alias imports
- `src_path` semantics needs clarification
- --sort-reexports results in isort not being able to parse file
- Feature request: Remove superfluous `import a` statements when there is already `import a.b`
- Docs
- Python not yet supported