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
- `--filter-files` does not consider extensions
- New feature: isort should move module-level-dunders to the correct place
- `--force-alphabetical-sort` breaks `--lines-between-types=0`
- `add_imports` + `append_only` inserts future import in illegal position
- isort is not explicit about skipping directories
- isort: skip not respected with add_imports config option
- `lines_before_import` seems to not always work on files
- Suppress all `check_file()` output
- Specify/exclude files the same way as black or "use from black"
- add_import adds imports above module docstring when docstring is raw string
- Docs
- Python not yet supported