CI Perf Lint

prefer-mypy-performance-milestone

Detects mypy versions below known performance milestones in the 1.x series and suggests incremental upgrades.

What it detects

Why it matters

Each milestone release includes measurable type-checking speed improvements. Upgrading incrementally reduces risk while still delivering faster CI runs.

Suggested action

Bump mypy to the next milestone version, run the type-checker, and fix any new errors before targeting the next milestone.

Measurement

Compare mypy runtime before and after the upgrade.