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
- Newline not always added at the end when input has no newline
- profile black should imply skip_gitignore
- No module named 'setuptools' when installing through pre-commit
- 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
- 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
- Consider standardizing imports from the standard library
- Docs
- Python not yet supported