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 messes with comments after the end of the import section
- --lines-before-import inconsistent between writing to a stream compared to a file in some cases
- Setting for absolute/relative imports order
- Add --exclude and --exclude-glob flags
- Default `combine_as_import = true` for `profile="black"`
- Make isort --gitignore default parameter
- absolute imports should be placed before relative imports in LOCALFOLDER section
- isort always fail even after auto-correction.
- How do I tell isort that a local import that happens to have the same name as a third party library is a local folder?
- Make src_paths behave as expected when using --resolve-all-configs and improve performance
- Docs
- Python not yet supported