Add pydocstyle to the ruff rules (#52136)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <hej.mellor@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harry Mellor
2026-09-16 16:44:29 +00:00
committed by GitHub
co-authored by Claude Opus 5
parent 804e5377aa
commit 8c1557a79c
2002 changed files with 15024 additions and 14269 deletions
+6 -5
View File
@@ -107,7 +107,8 @@ async def _run_request_bursts(
class MultinodeInternalLBServerManager:
"""Manages multi-node data parallel vLLM server instances for internal
load balancer testing using --headless mode."""
load balancer testing using --headless mode.
"""
def __init__(
self,
@@ -241,7 +242,8 @@ class MultinodeInternalLBServerManager:
class APIOnlyServerManager:
"""Manages API-only server (Node 0) and headless engines server (Node 1)
for testing separated API server and engine configuration."""
for testing separated API server and engine configuration.
"""
def __init__(
self,
@@ -261,7 +263,6 @@ class APIOnlyServerManager:
def __enter__(self) -> list[tuple[RemoteOpenAIServer, list[str]]]:
"""Start API-only server and headless engines server."""
# Start API-only server (Node 0) - no engines, only API server
api_server_args = self.base_server_args.copy()
api_server_args.extend(
@@ -607,7 +608,6 @@ async def test_api_only_multinode_dp_completion(
model_name: str,
) -> None:
"""Test API-only server with all engines on separate headless server."""
# Test single request
result = await _make_completion_request(api_only_client, model_name)
assert result is not None
@@ -645,7 +645,8 @@ async def test_api_only_multinode_dp_completion_streaming(
model_name: str,
) -> None:
"""Test API-only server streaming with all engines on separate
headless server."""
headless server.
"""
prompt = "What is an LLM?"
async def make_streaming_request():