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:
@@ -78,7 +78,6 @@ class PoolFormerImageProcessingTester(unittest.TestCase):
|
||||
@require_torch
|
||||
@require_vision
|
||||
class PoolFormerImageProcessingTest(ImageProcessingSavingTestMixin, unittest.TestCase):
|
||||
|
||||
image_processing_class = PoolFormerImageProcessor if is_vision_available() else None
|
||||
|
||||
def setUp(self):
|
||||
|
||||
@@ -122,7 +122,6 @@ class PoolFormerModelTester:
|
||||
|
||||
@require_torch
|
||||
class PoolFormerModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
|
||||
all_model_classes = (PoolFormerModel, PoolFormerForImageClassification) if is_torch_available() else ()
|
||||
|
||||
test_head_masking = False
|
||||
|
||||
Reference in New Issue
Block a user