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
This commit is contained in:
@@ -22,6 +22,7 @@ import unittest
|
||||
from importlib import import_module
|
||||
|
||||
import requests
|
||||
|
||||
from transformers import CLIPConfig, CLIPTextConfig, CLIPVisionConfig
|
||||
from transformers.testing_utils import require_tf, require_vision, slow
|
||||
from transformers.utils import is_tf_available, is_vision_available
|
||||
@@ -396,7 +397,6 @@ class TFCLIPTextModelTester:
|
||||
|
||||
@require_tf
|
||||
class TFCLIPTextModelTest(TFModelTesterMixin, unittest.TestCase):
|
||||
|
||||
all_model_classes = (TFCLIPTextModel,) if is_tf_available() else ()
|
||||
test_pruning = False
|
||||
test_head_masking = False
|
||||
|
||||
Reference in New Issue
Block a user