Update ruff to 0.11.2 (#36962)

* update

* update

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2025-03-25 16:00:11 +01:00
committed by GitHub
parent bc1c90a755
commit c6814b4ee8
152 changed files with 604 additions and 609 deletions

View File

@@ -1458,9 +1458,9 @@ class AutomaticSpeechRecognitionPipelineTests(unittest.TestCase):
chunked_output = speech_recognizer(inputs.copy(), chunk_length_s=30)
non_chunked_output = speech_recognizer(inputs.copy())
assert (
chunked_output.keys() == non_chunked_output.keys()
), "The output structure should be the same for chunked vs non-chunked versions of asr pipelines."
assert chunked_output.keys() == non_chunked_output.keys(), (
"The output structure should be the same for chunked vs non-chunked versions of asr pipelines."
)
@require_torch
def test_return_timestamps_ctc_fast(self):