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
@@ -23,8 +23,7 @@ logger = init_logger(__name__)
|
||||
def _get_hasher_factory(
|
||||
algorithm: MMHasherAlgorithm,
|
||||
) -> Callable[[], "hashlib._Hash"]:
|
||||
"""
|
||||
Get the hasher factory based on the configured algorithm.
|
||||
"""Get the hasher factory based on the configured algorithm.
|
||||
|
||||
Args:
|
||||
algorithm: Hash algorithm name (blake3, sha256, or sha512)
|
||||
@@ -33,8 +32,8 @@ def _get_hasher_factory(
|
||||
Supports blake3 (default), sha256, and sha512 for FIPS compliance.
|
||||
|
||||
See: https://github.com/vllm-project/vllm/issues/18334
|
||||
"""
|
||||
|
||||
"""
|
||||
if algorithm == "blake3":
|
||||
from blake3 import blake3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user