Skip to content

fix: resolve mypy strict errors in models.py and code_utils.py#2142

Merged
KRRT7 merged 0 commit intofix/subprocess-xml-errorsfrom
fix/mypy-strict-errors
May 7, 2026
Merged

fix: resolve mypy strict errors in models.py and code_utils.py#2142
KRRT7 merged 0 commit intofix/subprocess-xml-errorsfrom
fix/mypy-strict-errors

Conversation

@KRRT7
Copy link
Copy Markdown
Collaborator

@KRRT7 KRRT7 commented May 7, 2026

Summary

  • Fix pre-existing mypy strict mode errors in models.py (type annotations, generic bounds)
  • Fix pre-existing mypy strict errors in code_utils.py (return types, unused ignores)

Stack

Part of #2132 linear stack.

Test plan

  • uv run mypy codeflash/models/models.py codeflash/code_utils/code_utils.py → 0 errors
  • Existing test suite passes

@KRRT7 KRRT7 force-pushed the fix/subprocess-xml-errors branch from 47a9b3f to 184dae6 Compare May 7, 2026 17:30
@KRRT7 KRRT7 force-pushed the fix/mypy-strict-errors branch 2 times, most recently from 07e5828 to 593a5a7 Compare May 7, 2026 17:42
@KRRT7 KRRT7 force-pushed the fix/subprocess-xml-errors branch from 184dae6 to a2ddf54 Compare May 7, 2026 17:42
@KRRT7 KRRT7 force-pushed the fix/mypy-strict-errors branch from 593a5a7 to 4bf0aaf Compare May 7, 2026 22:47
@KRRT7 KRRT7 merged commit 4bf0aaf into fix/subprocess-xml-errors May 7, 2026
22 of 30 checks passed
@KRRT7 KRRT7 force-pushed the fix/subprocess-xml-errors branch from a2ddf54 to 81b0358 Compare May 7, 2026 22:47
@KRRT7 KRRT7 deleted the fix/mypy-strict-errors branch May 7, 2026 22:47
@KRRT7 KRRT7 restored the fix/mypy-strict-errors branch May 7, 2026 22:48
@aseembits93 aseembits93 deleted the fix/mypy-strict-errors branch May 8, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant