Skip to content

Commit 2fecfda

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 5f57cd3 commit 2fecfda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: tools/get.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def verify_files(filename, destination, rename_to):
107107
for i, zipped_file in enumerate(archive.namelist(), 1):
108108
local_path = os.path.join(extracted_dir_path, zipped_file.replace(first_dir, rename_to, 1))
109109
if not os.path.exists(local_path):
110-
print(f'\nMissing {zipped_file} on location: {extracted_dir_path}')
110+
print(f"\nMissing {zipped_file} on location: {extracted_dir_path}")
111111
print(f"Verification failed; aborted in {format_time(time.time() - t1)}")
112112
return False
113113
print_verification_progress(total_files, i, t1)
@@ -122,7 +122,7 @@ def verify_files(filename, destination, rename_to):
122122
for i, zipped_file in enumerate(archive.getnames(), 1):
123123
local_path = os.path.join(extracted_dir_path, zipped_file.replace(first_dir, rename_to, 1))
124124
if not os.path.exists(local_path):
125-
print(f'\nMissing {zipped_file} on location: {extracted_dir_path}')
125+
print(f"\nMissing {zipped_file} on location: {extracted_dir_path}")
126126
print(f"Verification failed; aborted in {format_time(time.time() - t1)}")
127127
return False
128128
print_verification_progress(total_files, i, t1)
@@ -147,7 +147,7 @@ def verify_files(filename, destination, rename_to):
147147
else:
148148
raise NotImplementedError("Unsupported archive type")
149149

150-
if(verbose):
150+
if verbose:
151151
print(f"\nVerification passed; completed in {format_time(time.time() - t1)}")
152152

153153
return True

0 commit comments

Comments
 (0)