Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
suquark committed Feb 15, 2022
1 parent 70f1855 commit b5f6600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion prototype/sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions prototype/sky/cloud_adaptors/azure.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b5f6600

Please sign in to comment.