Skip to content

Commit

Permalink
python lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Advitya17 committed Jan 18, 2024
1 parent 5a2093d commit 9ac49a5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ def __init__(self, service):
instance_name = self.nbvm["instance"]
domain_suffix = self.nbvm["domainsuffix"]
if service.is_private_link:
url_format = f"{instance_name}.{domain_suffix}:{service.port}"
url_format = f"{instance_name}.{domain_suffix}\
:{service.port}"
else:
url_format = f"{instance_name}-{service.port}.{domain_suffix}"
url_format = f"{instance_name}-{service.port}\
.{domain_suffix}"
self.base_url = \
f"https://{url_format}"
self.successfully_detected = True
Expand Down

0 comments on commit 9ac49a5

Please sign in to comment.