chore(types): delete five type: ignore comments that suppress nothing

mypy's warn_unused_ignores is on, so these were reported as errors in
their own right — a suppression that no longer suppresses is a claim
that something is broken when it is not, and it silently widens to
cover a real error if one later appears on that line.

Two carried a "Forward reference" note that is still accurate; the note
is kept and only the ignore removed.

95 errors -> 90. Comment-only, so no runtime behaviour can have changed
and the suite was not re-run for this commit. The `# type: ignore` count
across the tree drops from 6 to 1, which is the anchor for the rest of
this work: clearing a type error by suppressing it would push that
number the other way.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-08-19 16:28:28 +02:00
co-authored by Claude
parent 1ab6c1b379
commit 3696a40f97
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class FunctionCallOutputItem(CustomBaseModel):
# Union type for all output items
# Type: ignore because Pydantic handles union types specially
OutputItem = MessageOutputItem | ReasoningOutputItem | FunctionCallOutputItem # type: ignore
OutputItem = MessageOutputItem | ReasoningOutputItem | FunctionCallOutputItem
# ============================================================================