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:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
"""
|
||||
vllm_utils is a package for vLLM testing utilities.
|
||||
"""vllm_utils is a package for vLLM testing utilities.
|
||||
It does not import any vLLM modules.
|
||||
"""
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@ class BlameResult:
|
||||
|
||||
@contextlib.contextmanager
|
||||
def blame(func: Callable) -> Generator[BlameResult, None, None]:
|
||||
"""
|
||||
Trace the function calls to find the first function that satisfies the
|
||||
"""Trace the function calls to find the first function that satisfies the
|
||||
condition. The trace stack will be stored in the result.
|
||||
|
||||
Usage:
|
||||
|
||||
@@ -21,8 +21,7 @@ class MonitoredValues(Generic[_T]):
|
||||
def monitor(
|
||||
measure_func: Callable[[], _T],
|
||||
) -> Generator[MonitoredValues[_T], None, None]:
|
||||
"""
|
||||
Trace the function calls to continuously monitor the change of
|
||||
"""Trace the function calls to continuously monitor the change of
|
||||
a value.
|
||||
|
||||
Usage:
|
||||
|
||||
Reference in New Issue
Block a user