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
- Fix bugs in `normalize_line()`, and with a 2.7x speedup
- 6.0.0: `test_cimport_support` fails
- 6.0.0: `isort` is not stable on a file which imports multiple members from the same module, one aliased and another imported directly, with `--profile black`
- Add --list-profiles command line argument
- Add separate_packages option
- Use `sys.stdlib_module_names` to complement known stdlib modules
- isort copies comments across imports
- `--sort-reexports` does not respect `--profile=black`
- isort does not recognize _collections_abc as part of the standard library
- Sorting order is broken and not following standard sort order
- Docs
- Python not yet supported