Skip to content

Commit 2c38190

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lightning/app/runners/cloud.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,7 @@ def dispatch(
365365
# TODO: Remove testing dependency, but this would open a tab for each test...
366366
if open_ui and "PYTEST_CURRENT_TEST" not in os.environ:
367367
click.launch(
368-
self._get_app_url(
369-
project, run_instance, "logs" if run.is_headless else "web-ui", needs_credits
370-
)
368+
self._get_app_url(project, run_instance, "logs" if run.is_headless else "web-ui", needs_credits)
371369
)
372370
except ApiException as e:
373371
logger.error(e.body)
@@ -989,7 +987,9 @@ def _print_specs(run_body: CloudspaceIdRunsBody, print_format: str) -> None:
989987
requirements_path = getattr(getattr(run_body.image_spec, "dependency_file_info", ""), "path", "")
990988
logger.info(f"requirements_path: {requirements_path}")
991989

992-
def _get_cloudspace_url(self, project: V1Membership, cloudspace_name: str, tab: str, need_credits: bool = False) -> str:
990+
def _get_cloudspace_url(
991+
self, project: V1Membership, cloudspace_name: str, tab: str, need_credits: bool = False
992+
) -> str:
993993
user = self.backend.client.auth_service_get_user()
994994
action = "?action=add_credits" if need_credits else ""
995995
paths = [

0 commit comments

Comments
 (0)