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
- `parse.file_contents` doesn't find nested imports
- namespace package sorts differently when using the `from namespace import x` form
- Replace Imports
- Using Regex to specify modules
- Tuple sorting doesn't consider profile
- Newline not always added at the end when input has no newline
- profile black should imply skip_gitignore
- Long absolute imports not getting wrapped
- --exclude CLI flag to exclude files and directories from being scanned.
- `isort` ignores config files like `pyproject.toml` when explicitly passing files
- Docs
- Python not yet supported