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
- Using Regex to specify modules
- Newline not always added at the end when input has no newline
- Long absolute imports not getting wrapped
- --exclude CLI flag to exclude files and directories from being scanned.
- Local and CI/CD isort with different behaviour
- --only-sections still sorts by import style
- Namespaced packages in a repo with a shared `.isort.cfg` are misidentified as third-party
- Docs
- Python not yet supported