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
- Compile with `mypyc`
- fix: keep comment-only lines inside from-import groups
- Avoid leading newline with float-to-top
- `--sort-reexports` does not retain trailing commas in short `__all__` exports
- ISort incorrectly removes some blank lines
- Feature Request: add support for global config using $XDG_CONFIG_HOME
- Support explicit lazy imports in Python 3.15 (PEP 810)
- line-ending detection doesn't work on Windows and --help explain how to use --line-ending
- `--fss` may lead to incorrect import separation for mixed multi-line and alias imports
- `src_path` semantics needs clarification
- Docs
- Python not yet supported