[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user