transformers/scripts/fsmt
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
..
convert-allenai-wmt16.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
convert-allenai-wmt19.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
convert-facebook-wmt19.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
eval-allenai-wmt16.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
eval-allenai-wmt19.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
eval-facebook-wmt19.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
fsmt-make-super-tiny-model.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
fsmt-make-tiny-model.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
gen-card-allenai-wmt16.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
gen-card-allenai-wmt19.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
gen-card-facebook-wmt19.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
s3-move.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00
tests-to-run.sh Copyright (#8970) 2020-12-07 18:36:34 -05:00