[CI] Enable mypy coverage for individual excluded files (#34292)

Signed-off-by: Lucas Kabela <lucaskabela@meta.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Lucas Kabela
2026-02-16 07:34:29 -08:00
committed by GitHub
co-authored by Harry Mellor
parent 6930becd45
commit a3205beffb
9 changed files with 60 additions and 27 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class RequestOutput:
completion.token_ids.extend(next_completion.token_ids)
if next_completion.logprobs:
assert completion.logprobs is not None
completion.logprobs.extend(next_completion.logprobs)
completion.logprobs.extend(next_completion.logprobs) # type: ignore[arg-type]
completion.cumulative_logprob = (
next_completion.cumulative_logprob
)