Skip to content

fix(stdlib): mypy ratchet — annotate caches in hybrid_decode - #78

Merged
gstoner merged 1 commit into
mainfrom
fix-mypy-hybrid-caches
Jun 15, 2026
Merged

gstoner merged 1 commit into
mainfrom
fix-mypy-hybrid-caches

Conversation

@gstoner

@gstoner gstoner commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Post-merge CI on #77 failed the mypy ratchet:

python/tessera/stdlib/hybrid.py:270: error: Need type annotation for "caches"  [var-annotated]

One-line fix: annotate caches: list[dict] = [{} for _ in weights]. No behaviour change. Ratchet verified locally back to errors=0 baseline=0; test_stdlib_hybrid.py 14/14 green.

🤖 Generated with Claude Code

Post-merge CI: mypy needs a type annotation for `caches = [{} ...]`
(var-annotated). Annotate as `list[dict]`. No behaviour change; ratchet
back to errors=0/baseline=0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gstoner
gstoner merged commit 55f464f into main Jun 15, 2026
9 checks passed
@gstoner
gstoner deleted the fix-mypy-hybrid-caches branch June 15, 2026 21:37
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