Skip to content

Commit 9b6caae

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

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/_cli/test_cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,13 +1734,17 @@ def test_cli_run_double_dash_reaches_splitter(tail_args: list[str]) -> None:
17341734
runner = CliRunner()
17351735
captured: dict[str, Any] = {}
17361736

1737-
def _capture(name: str, args: tuple[str, ...]) -> tuple[list[str], tuple[str, ...]]:
1737+
def _capture(
1738+
name: str, args: tuple[str, ...]
1739+
) -> tuple[list[str], tuple[str, ...]]:
17381740
captured["name"] = name
17391741
captured["args"] = args
17401742
raise click.ClickException("stop after capture")
17411743

17421744
with (
1743-
patch("marimo._cli.cli._split_run_paths_and_args", side_effect=_capture),
1745+
patch(
1746+
"marimo._cli.cli._split_run_paths_and_args", side_effect=_capture
1747+
),
17441748
patch(
17451749
"marimo._cli.cli.sys.argv",
17461750
["marimo", "run", "notebook.py", "--", *tail_args],

0 commit comments

Comments
 (0)