Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cblmemo committed Sep 3, 2023
1 parent 797ec58 commit 985c784
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions sky/adaptors/azure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Azure cli adaptor"""

# pylint: disable=import-outside-toplevel
import functools
import threading

Expand Down
16 changes: 8 additions & 8 deletions sky/provision/azure/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ def open_ports(

def security_rule_parameters(priority: int) -> Dict[str, Any]:
return {
"priority": priority,
"protocol": "TCP",
"access": "Allow",
"direction": "Inbound",
"sourceAddressPrefix": "*",
"sourcePortRange": "*",
"destinationAddressPrefix": "*",
"destinationPortRanges": ports,
'priority': priority,
'protocol': 'TCP',
'access': 'Allow',
'direction': 'Inbound',
'sourceAddressPrefix': '*',
'sourcePortRange': '*',
'destinationAddressPrefix': '*',
'destinationPortRanges': ports,
}

list_nsg = get_azure_sdk_function(
Expand Down

0 comments on commit 985c784

Please sign in to comment.