Skip to content

Commit

Permalink
Pylint fixes part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hemildesai committed Oct 7, 2023
1 parent e8c1f9b commit 6b0b40d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sky/clouds/service_catalog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def _map_clouds_catalog(clouds: CloudFilter, method_name: str, *args, **kwargs):
clouds = list(_ALL_CLOUDS)

# TODO(hemil): Remove this once the common service catalog
# functions are refactored from clouds/kubernetes.py to kubernetes_catalog.py
# and add kubernetes to _ALL_CLOUDS
# functions are refactored from clouds/kubernetes.py to
# kubernetes_catalog.py and add kubernetes to _ALL_CLOUDS
if method_name == 'list_accelerators':
clouds.append('kubernetes')

Expand Down
2 changes: 1 addition & 1 deletion sky/clouds/service_catalog/kubernetes_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ def list_accelerators(
def validate_region_zone(
region_name: Optional[str],
zone_name: Optional[str],
clouds: CloudFilter = None # type: ignore
clouds: CloudFilter = None # pylint: disable=unused-argument
) -> Tuple[Optional[str], Optional[str]]:
return (region_name, zone_name)

0 comments on commit 6b0b40d

Please sign in to comment.