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
- Fix VERTICAL mode stranding the trailing comma on a single import
- multi_line_output=1 with include_trailing_comma leaves a dangling comma on a single import
- place: do not classify a module as first-party just because it shares the project root directory's name
- force_grid_wrap + include_trailing_comma can rewrite a from-import into invalid Python
- Keep a grid-wrapped from-import that carries a trailing comma valid
- Expand known_* directory entries ending in "/" on Windows
- Comment of a wrapped `X as X` import is removed on the next run (not idempotent)
- Keep the comment of a wrapped `X as X` import
- Preserve force_to_top ordering
- Fix action comments on a continuation line ending the section only on the next run
- Docs
- Python not yet supported