From 703cc1217806889eaca8d9df05bd2e826164042b Mon Sep 17 00:00:00 2001 From: Jeremy Goodsitt Date: Thu, 2 May 2024 10:06:43 -0400 Subject: [PATCH] fix: formatting --- sky/backends/backend_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sky/backends/backend_utils.py b/sky/backends/backend_utils.py index cc006fcf2ac..6c08097f75d 100644 --- a/sky/backends/backend_utils.py +++ b/sky/backends/backend_utils.py @@ -799,8 +799,7 @@ def write_cluster_config( excluded_clouds = [] remote_identity = skypilot_config.get_nested( (str(cloud).lower(), 'remote_identity'), 'LOCAL_CREDENTIALS') - if remote_identity is not None and not isinstance( - remote_identity, str): + if remote_identity is not None and not isinstance(remote_identity, str): for profile in remote_identity: if fnmatch.fnmatchcase(cluster_name_on_cloud, profile): remote_identity = remote_identity[profile]