diff --git a/prototype/sky/backends/cloud_vm_ray_backend.py b/prototype/sky/backends/cloud_vm_ray_backend.py index acf18615dad..ff0b66967de 100644 --- a/prototype/sky/backends/cloud_vm_ray_backend.py +++ b/prototype/sky/backends/cloud_vm_ray_backend.py @@ -1563,7 +1563,7 @@ def teardown(self, handle: ResourceHandle, terminate: bool) -> None: handle.cluster_name) cluster_name = config['cluster_name'] if (terminate and - prev_status == global_user_state.ClusterStatus.STOPPED): + prev_status == global_user_state.ClusterStatus.STOPPED): if isinstance(cloud, clouds.AWS): # TODO (zhwu): Room for optimization. We can move these cloud # specific handling to the cloud class. diff --git a/prototype/sky/cloud_adaptors/azure.py b/prototype/sky/cloud_adaptors/azure.py index 8b000250326..69ea4c3c3eb 100644 --- a/prototype/sky/cloud_adaptors/azure.py +++ b/prototype/sky/cloud_adaptors/azure.py @@ -1,6 +1,9 @@ """Azure cli adaptor""" +# pylint: disable=import-outside-toplevel + + def get_subscription_id() -> str: """Get the default subscription id.""" from azure.common.credentials import get_cli_profile