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
- Sorting behavior depends on the order of passed files
- Input with semicolon after multi-line import is corrupted
- section headers and footers do not abide by comment_prefix setting
- Feature Request: section headers and footers support multiple lines
- --sg is not skipping expected files
- Relative path not in sorting order with `--fss`
- Filter import additions to files by regex/glob
- [question] Is it possible to remove newlines between `__future__`, `from` and `import`?
- `skip_glob` seems to ignore `!(ab|cd|ef)` syntax
- Add some documentation about how isort moves comments.
- Docs
- Python not yet supported