Disable mypy arg-type and assignment checks in tests (#59428)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Harry Mellor
2026-09-30 15:18:50 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 17e9295dd5
commit fc2c801ad9
131 changed files with 402 additions and 409 deletions
+3 -3
View File
@@ -486,12 +486,12 @@ def test_prompt_logprob_token_ids_require_v2_model_runner():
params = SamplingParams(prompt_logprob_token_ids=[1, 2])
with patch.object(SamplingParams, "verify"):
with pytest.raises(VLLMValidationError, match="V2 model runner"):
InputProcessor._validate_params(processor, params, ("generate",)) # type: ignore[arg-type]
InputProcessor._validate_params(processor, params, ("generate",))
processor.vllm_config.use_v2_model_runner = True
InputProcessor._validate_params(processor, params, ("generate",)) # type: ignore[arg-type]
InputProcessor._validate_params(processor, params, ("generate",))
processor.vllm_config.cache_config.kv_sharing_fast_prefill = True
with pytest.raises(VLLMValidationError, match="fast-prefill"):
InputProcessor._validate_params(processor, params, ("generate",)) # type: ignore[arg-type]
InputProcessor._validate_params(processor, params, ("generate",))
def test_none_logprobs(vllm_model, example_prompts):