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:
@@ -327,7 +327,6 @@ class DataTrainingArguments:
|
||||
|
||||
@dataclass
|
||||
class SpeechDataCollatorWithPadding:
|
||||
|
||||
processor: AutoProcessor
|
||||
decoder_start_token_id: Optional[int] = None
|
||||
padding: Union[bool, str] = "longest"
|
||||
@@ -863,7 +862,6 @@ def main():
|
||||
|
||||
# Training
|
||||
if training_args.do_train:
|
||||
|
||||
# use last checkpoint if exist
|
||||
if last_checkpoint is not None:
|
||||
checkpoint = last_checkpoint
|
||||
|
||||
Reference in New Issue
Block a user