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
- isort gets confused when working with git worktrees
- Any approach to trim empty lines before imports?
- How to classify local folders as first party modules except venv
- Isort orders module-level dunders
- `isort` does not respect `# pylint: disable-next`
- inconsistencies of known_first_party and --resolve-all-configs argument
- Formatting problems in an `else` conditional import
- ensure_newline_before_comments is not respected
- Imports in an `if sys.version_info` block are not handled as part of the same imports
- Import sections with conditionals
- Docs
- Python not yet supported