[MyPy][2/N] Fix mypy errors in small tests/ dirs (#51043)

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Martin Hickey
2026-09-29 21:27:45 +01:00
committed by GitHub
co-authored by Harry Mellor Claude Opus 5.5
parent a96ee5935d
commit 5dd693122c
71 changed files with 491 additions and 301 deletions
+15 -17
View File
@@ -31,24 +31,37 @@ SILENT_GROUPS = [
"tests/compile/correctness_e2e",
"tests/compile/fullgraph",
"tests/compile/fusions_e2e",
"tests/compile/passes",
"tests/config",
"tests/entrypoints/generate",
"tests/entrypoints/serve",
"tests/entrypoints/tool_parsers",
"tests/entrypoints/unit_tests",
"tests/entrypoints/weight_transfer",
"tests/kernels/core",
"tests/kernels/mamba",
"tests/kernels/quantization",
"tests/model_executor/layers",
"tests/models/language",
"tests/models/quantization",
"tests/plugins/bge_m3_sparse_plugin",
"tests/plugins/prithvi_io_processor_plugin",
"tests/plugins/vllm_add_dummy_platform",
"tests/plugins/vllm_add_dummy_stat_logger",
"tests/plugins_tests/gguf",
"tests/plugins_tests/lora_resolvers",
"tests/plugins_tests",
"tests/samplers",
"tests/spec_decode",
"tests/tokenizers_",
"tests/tool_use",
"tests/transformers_utils",
"tests/utils_",
"tests/v1/cudagraph",
"tests/v1/determinism",
"tests/v1/distributed",
"tests/v1/executor",
"tests/v1/shutdown",
"tests/v1/simple_kv_offload",
"tests/v1/structured_output",
]
# After fixing errors resulting from changing follow_imports
@@ -57,57 +70,42 @@ SEPARATE_GROUPS = [
"tests",
"tests/benchmarks",
"tests/compile",
"tests/compile/passes",
"tests/distributed",
"tests/entrypoints/anthropic",
"tests/entrypoints/llm",
"tests/entrypoints/multimodal",
"tests/entrypoints/openai",
"tests/entrypoints/pooling",
"tests/entrypoints/serve",
"tests/entrypoints/speech_to_text",
"tests/entrypoints/unit_tests",
"tests/kernels",
"tests/kernels/attention",
"tests/kernels/helion",
"tests/kernels/moe",
"tests/kernels/quantization",
"tests/lora",
"tests/model_executor",
"tests/model_executor/layers",
"tests/model_executor/model_loader",
"tests/models",
"tests/models/test_initialization.py",
"tests/models/multimodal",
"tests/multimodal",
"tests/parser",
"tests/plugins_tests",
"tests/quantization",
"tests/reasoning",
"tests/renderers",
"tests/samplers",
"tests/tokenizers_",
"tests/tool_parsers",
"tests/tool_use",
"tests/utils_",
"tests/v1",
"tests/v1/attention",
"tests/v1/core",
"tests/v1/cudagraph",
"tests/v1/determinism",
"tests/v1/e2e",
"tests/v1/ec_connector",
"tests/v1/engine",
"tests/v1/executor",
"tests/v1/kv_connector",
"tests/v1/kv_offload",
"tests/v1/logits_processors",
"tests/v1/metrics",
"tests/v1/sample",
"tests/v1/simple_kv_offload",
"tests/v1/spec_decode",
"tests/v1/streaming_input",
"tests/v1/structured_output",
"tests/v1/worker",
]