Description:
Sort Python imports automatically
|
|
Type: Formula
|
Tracked Since: Dec 28, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
python
linting
formatter
imports
developer-tools
|
|
Install:
brew install isort
|
About:
Isort is a Python utility that automatically sorts import statements alphabetically and separates them into sections. It helps maintain clean, readable codebases by enforcing consistent import organization. The tool is highly configurable and integrates easily with popular code editors and linters.
|
Key Features:
- Automatically sorts and groups Python imports
- Highly configurable with support for many config file formats
- Seamless integration with Black, Flake8, and pre-commit hooks
|
Use Cases:
- Enforcing consistent import style across a team
- Automated code formatting in CI/CD pipelines
- Cleaning up legacy codebases with mixed import styles
|
Alternatives:
-
Autoflake
– Removes unused imports but does not sort them comprehensively
-
Black
– A full code formatter that handles imports but is less configurable than isort
|
| Detected |
Version |
Rev |
Change |
Commit |
| Oct 11, 2024 11:27am |
|
0 |
VERSION_BUMP |
31a84482 |
| Dec 14, 2023 4:54am |
|
0 |
VERSION_BUMP |
f40df37d |
| Dec 9, 2023 1:21pm |
|
0 |
VERSION_BUMP |
3ce33f81 |
| Oct 15, 2023 3:00pm |
|
1 |
VERSION_BUMP |
d477fcd4 |
| Jan 28, 2023 8:04pm |
|
0 |
VERSION_BUMP |
41744153 |
| Jan 28, 2023 8:04pm |
|
0 |
VERSION_BUMP |
88f6f8d6 |
| Dec 22, 2022 4:05am |
|
0 |
VERSION_BUMP |
33c08351 |
| Dec 22, 2022 4:05am |
|
0 |
VERSION_BUMP |
1256df5c |
| Dec 17, 2022 5:21pm |
|
0 |
VERSION_BUMP |
4b2e0688 |
| Dec 17, 2022 5:21pm |
|
0 |
VERSION_BUMP |
77b79286 |
| Dec 14, 2022 12:55am |
|
0 |
VERSION_BUMP |
b2f1fdc6 |
| Dec 14, 2022 12:55am |
|
0 |
VERSION_BUMP |
86e09421 |
| Dec 13, 2022 3:48am |
|
0 |
VERSION_BUMP |
62ad75f9 |
| Dec 13, 2022 3:48am |
|
0 |
VERSION_BUMP |
7d052666 |
|