mypy: drive remaining 161 errors on backend/app/ down to 0 (decomposition) #155

Closed
opened 2026-09-14 22:52:10 +00:00 by Mark · 1 comment
Owner

Residual mypy errors after PEP 695 de-sugar commit on branch fix/retry-handler-pep695.

Counts (from mypy --no-incremental backend/app/):

  • 39 [attr-defined]
  • 20 [no-any-return]
  • 19 [unreachable]
  • 19 [assignment]
  • 16 [union-attr]
  • 10 [index]
  • 8 [str]
  • 8 [redundant-cast]
  • 7 [unused-ignore]
  • 7 [operator]
  • remainder of 161 across smaller cats

Strategy: incremental bucketing per type. Each commit ~=10 errors. Mechanical clusters go to kilo-gsd-runner. [attr-defined] and [assignment] clusters need domain knowledge — defer until rules exist.

Predecessor branch fix/retry-handler-pep695 (1802c42) handles the PEP 695 type-parameter syntax that mypy 1.13 cannot parse. master is fine for that and any mypy run will then proceed past the syntax error.

Residual mypy errors after PEP 695 de-sugar commit on branch fix/retry-handler-pep695. Counts (from `mypy --no-incremental backend/app/`): - 39 [attr-defined] - 20 [no-any-return] - 19 [unreachable] - 19 [assignment] - 16 [union-attr] - 10 [index] - 8 [str] - 8 [redundant-cast] - 7 [unused-ignore] - 7 [operator] - remainder of 161 across smaller cats Strategy: incremental bucketing per type. Each commit ~=10 errors. Mechanical clusters go to kilo-gsd-runner. [attr-defined] and [assignment] clusters need domain knowledge — defer until rules exist. Predecessor branch fix/retry-handler-pep695 (1802c42) handles the PEP 695 type-parameter syntax that mypy 1.13 cannot parse. master is fine for that and any mypy run will then proceed past the syntax error.
Author
Owner

Triaged: mypy debt decomposition child. Needs planning before fixit; routes via needs-decompose lane.

Triaged: mypy debt decomposition child. Needs planning before fixit; routes via needs-decompose lane.
Mark closed this issue 2026-09-18 03:21:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/osint-hub#155
No description provided.