Skip to content

chore: remove stale ty: ignore comments in llm_setup.py#224

Merged
decko merged 2 commits into
mainfrom
soda/222
Apr 27, 2026
Merged

chore: remove stale ty: ignore comments in llm_setup.py#224
decko merged 2 commits into
mainfrom
soda/222

Conversation

@decko
Copy link
Copy Markdown
Owner

@decko decko commented Apr 27, 2026

Summary

Remove 3 stale # ty: ignore[unresolved-attribute] comments in llm_setup.py that trigger unused-ignore-comment warnings on every commit.

Test plan

  • uv run ty check src/raki/ — 0 unused-ignore-comment warnings
  • uv run pytest tests/ -v -m "not slow" — no regressions

Refs #222

🤖 Generated with Claude Code via SODA pipeline

Remove 3 unused-ignore-comment suppressions in llm_setup.py.  The
underlying type issue for llm.model_args.pop has been resolved by ty
version updates, so the three suppress comments on that call (google
branch, litellm branch, and anthropic fall-through) are now stale.

Stale comments removed (lines 123, 140, 160 in original file):
  llm.model_args.pop("top_p", None)  # ty: ignore[unresolved-attribute]

The 4 remaining ty: ignore[unresolved-attribute] comments (lines 39,
50, 63, 74) and all ty: ignore[unresolved-import] comments are kept
as they still suppress real unresolved-attribute errors.
@decko decko added this to the v0.11.0 milestone Apr 27, 2026
@decko decko added the enhancement New feature or request label Apr 27, 2026
Also stale after ty updates — jinja2 import now resolves cleanly.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@decko decko merged commit cce4520 into main Apr 27, 2026
4 checks passed
@decko decko deleted the soda/222 branch April 27, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant