Skip to content

Commit 5576879

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ceec337 commit 5576879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jupyter_scheduler/job_files_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,23 @@ def generate_filepaths(self):
6161
output_filepath = os.path.join(self.output_dir, self.output_filenames[output_format])
6262
if not os.path.exists(output_filepath) or self.redownload:
6363
yield input_filepath, output_filepath
64-
64+
6565
if self.staging_paths:
6666
staging_dir = os.path.dirname(next(iter(self.staging_paths.values())))
6767
if os.path.exists(staging_dir):
6868
explicit_files = set()
6969
for output_format in output_formats:
7070
if output_format in self.staging_paths:
7171
explicit_files.add(os.path.basename(self.staging_paths[output_format]))
72-
72+
7373
for file_name in os.listdir(staging_dir):
7474
file_path = os.path.join(staging_dir, file_name)
7575
if os.path.isfile(file_path) and file_name not in explicit_files:
7676
input_filepath = file_path
7777
output_filepath = os.path.join(self.output_dir, file_name)
7878
if not os.path.exists(output_filepath) or self.redownload:
7979
yield input_filepath, output_filepath
80-
80+
8181
if self.include_staging_files:
8282
staging_dir = os.path.dirname(self.staging_paths["input"])
8383
for file_relative_path in self.output_filenames["files"]:

0 commit comments

Comments
 (0)