[mypy] Enable type checking for more directories (#29674)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-11-28 08:39:27 -08:00
committed by GitHub
parent 9eec282cb5
commit 9e6bcda3ac
12 changed files with 35 additions and 31 deletions
+3 -2
View File
@@ -144,7 +144,7 @@ class SpecDecodingProm:
self,
speculative_config: SpeculativeConfig | None,
labelnames: list[str],
per_engine_labelvalues: dict[int, list[str]],
per_engine_labelvalues: dict[int, list[object]],
):
self.spec_decoding_enabled = speculative_config is not None
if not self.spec_decoding_enabled:
@@ -215,7 +215,8 @@ class SpecDecodingProm:
def make_per_engine(
counter: prometheus_client.Counter, per_engine_labelvalues: dict[int, list[str]]
counter: prometheus_client.Counter,
per_engine_labelvalues: dict[int, list[object]],
):
"""Create a counter for each label value."""
return {