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
+3 -4
View File
@@ -2,8 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
"""
Convert a vLLM Recipes per-hardware JSON rendering into:
"""Convert a vLLM Recipes per-hardware JSON rendering into:
1) config.yml - native `vllm serve --config` YAML
2) env.sh - environment variables required by the recipe
@@ -38,6 +37,7 @@ by the Recipes API instead of synthesizing strategy URLs locally.
The converter intentionally targets a single `vllm serve` process. If the
recipe rendering is multi-node, PD-disaggregated, or another multi-process
deployment, it exits instead of silently generating an incomplete config.
"""
from __future__ import annotations
@@ -551,8 +551,7 @@ def merge_value(dst: dict[str, Any], path: list[str], value: Any) -> None:
def normalize_key(raw_key: str) -> list[str]:
"""
Convert the CLI key to config-file spelling.
"""Convert the CLI key to config-file spelling.
Only the top-level CLI option name gets underscore -> dash normalization.
Nested JSON field names after a dot are preserved.