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
- Preserve trailing comments for aliased imports
- Make `_Config` and `Config` work as native class
- Stop swallowing a statement that immediately follows a sorted literal
- fix: keep comment-only lines inside from-import groups
- Feature Request: add support for global config using $XDG_CONFIG_HOME
- `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`
- Feature request: per-block sorting strategy (inline sort)
- isort doesn't format the imports in PyCharm's Jupyter notebooks
- Docs
- Python not yet supported