Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Sep 3, 2024
1 parent ed9cefb commit 4399927
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pyslidescape/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,10 @@ def _render_notes(work_dir, todo=None, pool=None, verbose=True):
slide_with_notes_mtime = utils.mtime(slide_with_notes_path)
if slide_mtime > slide_with_notes_mtime:
if verbose:
print(f"update notes because slide got updated {slide_key:s}/{layers_key:s}")
print(
"update notes because slide got updated "
f"{slide_key:s}/{layers_key:s}"
)
need_to_render_note = True

if need_to_render_note:
Expand Down Expand Up @@ -358,7 +361,8 @@ def update_latex_slides_and_snippets(
jobs.append(_job)
if verbose:
print(
f"latex render: {dst_path:s} because {_job['reason']:s}."
f"latex render: {dst_path:s} "
f"because {_job['reason']:s}."
)

for i in range(len(todo)):
Expand All @@ -378,7 +382,8 @@ def update_latex_slides_and_snippets(
jobs.append(_job)
if verbose:
print(
f"latex render: {dst_path:s} because {_job['reason']:s}."
f"latex render: {dst_path:s} "
f"because {_job['reason']:s}."
)

pool.map(run_latex_render_job, jobs)
Expand Down

0 comments on commit 4399927

Please sign in to comment.