Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jun 28, 2024
1 parent 71c7aa2 commit 59e9853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions sky/skylet/providers/azure/node_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ def match_tags(vm):
)
except azure.exceptions().ResourceNotFoundError as e:
if "Code: ResourceGroupNotFound" in e.exc_msg:
logger.debug("Resource group not found. VMs should have been "
"terminated.")
logger.debug(
"Resource group not found. VMs should have been terminated."
)
vms = []
else:
raise
Expand Down
2 changes: 1 addition & 1 deletion sky/utils/common_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class Backoff:
MULTIPLIER = 1.6
JITTER = 0.4

def __init__(self, initial_backoff: int = 5, max_backoff_factor: int = 5):
def __init__(self, initial_backoff: float = 5, max_backoff_factor: int = 5):
self._initial = True
self._backoff = 0.0
self._initial_backoff = initial_backoff
Expand Down

0 comments on commit 59e9853

Please sign in to comment.