Skip to content

Commit

Permalink
fix mypy for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored and lexierule committed Sep 22, 2022
1 parent 56ad7ef commit c1c233c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning_app/cli/lightning_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _run_app(
env_vars = _format_input_env_variables(env)
os.environ.update(env_vars)

def on_before_run(*args: Any):
def on_before_run(*args: Any) -> None:
if open_ui and not without_server:
click.launch(get_app_url(runtime_type, *args))

Expand Down

0 comments on commit c1c233c

Please sign in to comment.