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
@@ -70,8 +70,7 @@ class Cosmos3EdgeImageProcessor(Siglip2ImageProcessor):
resample: PILImageResampling | InterpolationMode | int | None = None,
**kwargs,
) -> torch.Tensor:
"""
Rescales the image so that the following conditions are met:
"""Rescales the image so that the following conditions are met:
1. Both dimensions (height and width) are divisible by 'factor'.
2. The total number of pixels is within the range ['min_pixels', 'max_pixels'].
@@ -322,6 +321,7 @@ class Cosmos3EdgeProcessor(Qwen3VLProcessor):
normalize, and patch video inputs.
chat_template: An optional Jinja template used to render chat messages
into a tokenizable string.
"""
attributes = ["image_processor", "tokenizer", "video_processor"]