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:
@@ -120,7 +120,6 @@ class ScheduleInitTest(unittest.TestCase):
|
||||
self.assertAlmostEqual(a, b, delta=tol, msg=msg)
|
||||
|
||||
def test_schedulers(self):
|
||||
|
||||
common_kwargs = {"num_warmup_steps": 2, "num_training_steps": 10}
|
||||
# schedulers doct format
|
||||
# function: (sched_args_dict, expected_learning_rates)
|
||||
|
||||
Reference in New Issue
Block a user