Skip to main content
SAICA-KG

Tools

isort

6,000

Sorts and groups Python imports automatically.

PreventionPost-generationFully autonomousStableTier 2AEnvironment
Maturity tier details

Computed tier: 2A(raw score 5.01). Effective tier: 2A.

Facets:documented_in=0evaluated_on=0integration_surfaces=1.5paper_citations=0recent_commit=2stars=1.51

Source of truth:pipeline/maturity/score.py

Description

isort rewrites Python import statements into a canonical order (stdlib, third-party, first-party, local) with consistent grouping and spacing. By making import layout deterministic it eliminates a common source of cosmetic diffs and prevents reviewers from chasing style nits — a small but real check on scope creep in PR review. Configuration lives in `pyproject.toml [tool.isort]`, which the audit detector now recognises.

Why it's included

Occupies prevention × post_generation × fully_autonomous for scope_creep in the Python lane, alongside Black on a narrower formatting surface. Including it lets the audit detector resolve `[tool.isort]` blocks in legacy configs that have not yet migrated to Ruff's import sorter.

Security notes

Standard dev-tool security posture; no special considerations. isort runs locally and rewrites import blocks based on AST inspection only.

Addresses failure modes

  • Scope creep — Actions outside declared task boundary.

Techniques

import-sortingast-rewritingdeterministic-style

View raw YAML on GitHub →