transformers/tests/models/speech_to_text
Arthur 651408a077
[`Styling`] stylify using ruff (#27144)
* try to stylify using ruff

* might need to remove these changes?

* use ruf format andruff check

* use isinstance instead of type comparision

* use # fmt: skip

* use # fmt: skip

* nits

* soem styling changes

* update ci job

* nits isinstance

* more files update

* nits

* more nits

* small nits

* check and format

* revert wrong changes

* actually use formatter instead of checker

* nits

* well docbuilder is overwriting this commit

* revert notebook changes

* try to nuke docbuilder

* style

* fix feature exrtaction test

* remve `indent-width = 4`

* fixup

* more nits

* update the ruff version that we use

* style

* nuke docbuilder styling

* leve the print for detected changes

* nits

* Remove file I/O

Co-authored-by: charliermarsh
 <charlie.r.marsh@gmail.com>

* style

* nits

* revert notebook changes

* Add # fmt skip when possible

* Add # fmt skip when possible

* Fix

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* NIts

* more fixes

* fix tapas

* Another way to skip

* Recommended way

* Fix two more fiels

* Remove asynch
Remove asynch

---------

Co-authored-by: charliermarsh <charlie.r.marsh@gmail.com>
2023-11-16 17:43:19 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_feature_extraction_speech_to_text.py Add numpy alternative to FE using torchaudio (#26339) 2023-11-08 07:39:37 +00:00
test_modeling_speech_to_text.py [`CI-test_torch`] skip test_tf_from_pt_safetensors and `test_assisted_decoding_sample` (#27508) 2023-11-15 08:39:29 +01:00
test_modeling_tf_speech_to_text.py [`core`/ `GC` / `tests`] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00
test_processor_speech_to_text.py Add numpy alternative to FE using torchaudio (#26339) 2023-11-08 07:39:37 +00:00
test_tokenization_speech_to_text.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00