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:
@@ -18,6 +18,7 @@ import subprocess
|
||||
from os.path import dirname
|
||||
|
||||
from parameterized import parameterized
|
||||
|
||||
from tests.trainer.test_trainer import TrainerIntegrationCommon # noqa
|
||||
from transformers import is_torch_available
|
||||
from transformers.testing_utils import (
|
||||
|
||||
Reference in New Issue
Block a user