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:
@@ -24,6 +24,7 @@ from ...test_modeling_flax_common import FlaxModelTesterMixin, ids_tensor, rando
|
||||
|
||||
if is_flax_available():
|
||||
import jax.numpy as jnp
|
||||
|
||||
from transformers.models.distilbert.modeling_flax_distilbert import (
|
||||
FlaxDistilBertForMaskedLM,
|
||||
FlaxDistilBertForMultipleChoice,
|
||||
@@ -111,7 +112,6 @@ class FlaxDistilBertModelTester(unittest.TestCase):
|
||||
|
||||
@require_flax
|
||||
class FlaxDistilBertModelTest(FlaxModelTesterMixin, unittest.TestCase):
|
||||
|
||||
all_model_classes = (
|
||||
(
|
||||
FlaxDistilBertModel,
|
||||
|
||||
Reference in New Issue
Block a user