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
@@ -18,9 +18,8 @@ _PATCH = "vllm.entrypoints.speech_to_text.base.serving"
@pytest.mark.asyncio
async def test_chunk_offsets_are_cumulative_not_nominal():
"""
chunk_start_offsets must be cumulative actual chunk lengths, not the old approach of
'idx * max_audio_clip_s'. When split_audio places a boundary before the
"""chunk_start_offsets must be cumulative actual chunk lengths, not the old approach
of 'idx * max_audio_clip_s'. When split_audio places a boundary before the
nominal 30 s mark, the old formula drifts; the fixed formula stays exact.
"""
# Chunks shorter than exactly 30 s, as split_audio produces when a quiet
@@ -238,8 +238,7 @@ async def test_stream_options(winning_call, whisper_client):
@pytest.mark.asyncio
async def test_sampling_params(mary_had_lamb, whisper_client):
"""
Compare sampling with params and greedy sampling to assert results
"""Compare sampling with params and greedy sampling to assert results
are different when extreme sampling parameters values are picked.
"""
transcription = await whisper_client.audio.transcriptions.create(