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
- Question: how to force a sub-package to be separated to another group?
- Sorting behavior depends on the order of passed files
- Some questions about sticky comments
- isort strips empty comments, e.g. `import a #` -> `import a`
- Input with semicolon after multi-line import is corrupted
- git_ignore documentation could be improved
- section headers and footers do not abide by comment_prefix setting
- Feature Request: section headers and footers support multiple lines
- --sg is not skipping expected files
- Adds the line before imports only if there are badly sorted imports
- Docs
- Python not yet supported