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
- Use another augmented assignment statement
- `lines_before_import` seems to not always work on files
- Checks fail with float_to_top and add_imports
- Suppress all `check_file()` output
- Breaking order of overriding import * in settings files
- Different behavior for some options when passed as kwargs vs file
- Invalid syntax output for modules that directly import __future__
- Specify/exclude files the same way as black or "use from black"
- add_import adds imports above module docstring when docstring is raw string
- add_import adds imports in between a docstring and a comment next to the docstring
- Docs
- Python not yet supported