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
- Add an option to sort absolute imports before relative imports
- Cache compiled known-module patterns across Config instances
- Use one tab per indent level for editorconfig indent_style = tab
- Document file exclusions with skip_glob
- fix: preserve configured lines_between_types with force_alphabetical_sort (#1972)
- Do not identify directory as first-party module unless it is a Python module (fixes #2240)
- Fix quiet mode output in check_file API
- Fix add_imports handling in isort off regions
- add_imports re-adds the import on every run when the file contains an `# isort: off` block (not idempotent)
- Don't run isort on pytest's argv in test_importable
- Docs
- Python not yet supported