[mypy] Pass type checking for vllm/utils and vllm/v1/pool (#29666)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-11-28 20:40:47 +08:00
committed by GitHub
parent 33b06a6f24
commit 953d9c820b
9 changed files with 37 additions and 43 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ def get_ip() -> str:
return "0.0.0.0"
def test_loopback_bind(address, family):
def test_loopback_bind(address: str, family: int) -> bool:
try:
s = socket.socket(family, socket.SOCK_DGRAM)
s.bind((address, 0)) # Port 0 = auto assign