Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Nov 16, 2024
1 parent dfd3321 commit 69563da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/run_notebooks/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,12 @@ class RunParams(TypedDict):

def run_parameters(notebook_paths: list[Path], mock: bool = True) -> list[RunParams]:
def to_mock(notebook_path: Path, i: int) -> RunParams:
return RunParams(notebook_path=notebook_path, mock=mock, i=i, total=len(notebook_paths))
return RunParams(
notebook_path=notebook_path,
mock=mock,
i=i,
total=len(notebook_paths),
)

return [to_mock(notebook_path, i=i) for i, notebook_path in enumerate(notebook_paths, start=1)]

Expand Down

0 comments on commit 69563da

Please sign in to comment.