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 -3
View File
@@ -129,7 +129,8 @@ def test_batched_mm(
per_act_token_quant: bool,
):
"""Note: float8_e4m3fn is not supported on CUDA architecture < 89,
and those tests will be skipped on unsupported hardware."""
and those tests will be skipped on unsupported hardware.
"""
set_random_seed(7)
use_fp8_w8a8 = dtype == torch.float8_e4m3fn
@@ -268,7 +269,8 @@ def test_fused_moe_batched_experts(
workspace_init,
):
"""Note: float8_e4m3fn is not supported on CUDA architecture < 89,
and those tests will be skipped on unsupported hardware."""
and those tests will be skipped on unsupported hardware.
"""
set_random_seed(7)
use_fp8_w8a8 = dtype == torch.float8_e4m3fn
@@ -649,7 +651,8 @@ def test_batched_experts_masked_activation_end_to_end(
def test_batched_experts_end_to_end(m, n, k, e, topk):
"""End-to-end BatchedTritonExperts via the reference (no-comms)
BatchedPrepareAndFinalize, validated against a torch reference. Exercises
the device-enablement path."""
the device-enablement path.
"""
from vllm.v1.worker.workspace import init_workspace_manager
set_random_seed(7)