transformers/scripts
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
..
benchmark [benchmark tool] trainer-benchmark.py (#14934) 2022-04-05 10:27:29 -07:00
distributed add a network debug script and document it (#15652) 2022-02-15 08:48:00 -08:00
fsmt [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
pegasus [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
tatoeba `transformers-cli` -> `huggingface-cli` (#23276) 2023-05-11 11:12:13 +01:00
check_tokenizers.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
stale.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00