Skip to content

Commit 956e900

Browse files
committed
style(api-core): format universe.py after merging suggestion
1 parent fcc8b33 commit 956e900

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/google-api-core/google/api_core/universe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ def get_default_mtls_endpoint(api_endpoint: Optional[str]) -> Optional[str]:
141141
suffix_sandbox = ".sandbox.googleapis.com"
142142
suffix_google = ".googleapis.com"
143143
if lowered_host.endswith(suffix_sandbox):
144-
new_host = host[:-len(suffix_sandbox)] + ".mtls.sandbox.googleapis.com"
144+
new_host = host[: -len(suffix_sandbox)] + ".mtls.sandbox.googleapis.com"
145145
elif lowered_host.endswith(suffix_google):
146-
new_host = host[:-len(suffix_google)] + ".mtls.googleapis.com"
146+
new_host = host[: -len(suffix_google)] + ".mtls.googleapis.com"
147147
else:
148148
return api_endpoint
149149

0 commit comments

Comments
 (0)