transformers/tests/utils
Sylvain Gugger 6f79d26442
Update quality tooling for formatting (#21480)
* Result of black 23.1

* Update target to Python 3.7

* Switch flake8 to ruff

* Configure isort

* Configure isort

* Apply isort with line limit

* Put the right black version

* adapt black in check copies

* Fix copies
2023-02-06 18:10:56 -05:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_activations_tf.py TF: Add sigmoid activation function (#16819) 2022-04-19 16:13:08 +01:00
test_activations.py Add the GeLU activation from pytorch with the tanh approximation (#21345) 2023-02-02 09:33:04 -05:00
test_add_new_model_like.py Rename test_feature_extraction files (#21140) 2023-01-17 14:04:07 +00:00
test_cli.py CLI: reenable pt_to_tf test (#18108) 2022-07-12 13:38:05 +01:00
test_convert_slow_tokenizer.py Black preview (#17217) 2022-05-12 16:25:55 -04:00
test_doc_samples.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_file_utils.py Fix cached_file in offline mode for cached non-existing files (#19206) 2022-09-26 18:01:00 -04:00
test_generic.py Refactor conversion function (#19799) 2022-10-24 13:48:40 -04:00
test_hf_argparser.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_hub_utils.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_image_processing_utils.py Add Image Processors (#19796) 2022-11-02 11:57:36 +00:00
test_image_utils.py Accept batched tensor of images as input to image processor (#21144) 2023-01-26 10:15:26 +00:00
test_logging.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_model_card.py Black preview (#17217) 2022-05-12 16:25:55 -04:00
test_model_output.py Fix ModelOutput instantiation when there is only one tuple (#20416) 2022-11-23 15:09:21 -05:00
test_modeling_tf_core.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_offline.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_skip_decorators.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_versions_utils.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00