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:
@@ -208,7 +208,6 @@ class SplinterModelTester:
|
||||
|
||||
@require_torch
|
||||
class SplinterModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
|
||||
all_model_classes = (
|
||||
(
|
||||
SplinterModel,
|
||||
@@ -338,7 +337,6 @@ class SplinterModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
inputs_dict[k] = v.to(0)
|
||||
|
||||
for model_class in self.all_model_classes:
|
||||
|
||||
# Skip this case since it will fail sometimes, as described above.
|
||||
if model_class == SplinterForPreTraining:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user