[CI] Fix mypy for vllm/v1/core and vllm/v1/engine (#27108)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2025-10-30 07:32:17 -04:00
committed by GitHub
parent c7d2a554ba
commit c01f6e525f
12 changed files with 91 additions and 61 deletions

View File

@@ -36,12 +36,15 @@ FILES = [
"vllm/transformers_utils",
"vllm/triton_utils",
"vllm/usage",
"vllm/v1/core",
"vllm/v1/engine",
]
# After fixing errors resulting from changing follow_imports
# from "skip" to "silent", move the following directories to FILES
SEPARATE_GROUPS = [
"tests",
# v0 related
"vllm/attention",
"vllm/compilation",
"vllm/engine",
@@ -50,7 +53,16 @@ SEPARATE_GROUPS = [
"vllm/model_executor",
"vllm/plugins",
"vllm/worker",
"vllm/v1",
# v1 related
"vllm/v1/attention",
"vllm/v1/executor",
"vllm/v1/kv_offload",
"vllm/v1/metrics",
"vllm/v1/pool",
"vllm/v1/sample",
"vllm/v1/spec_decode",
"vllm/v1/structured_output",
"vllm/v1/worker",
]
# TODO(woosuk): Include the code from Megatron and HuggingFace.