From 6b0b40d2ad0c4fba5b4614554026612eb51b5099 Mon Sep 17 00:00:00 2001 From: hemildesai Date: Fri, 6 Oct 2023 17:52:05 -0700 Subject: [PATCH] Pylint fixes part 4 --- sky/clouds/service_catalog/__init__.py | 4 ++-- sky/clouds/service_catalog/kubernetes_catalog.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sky/clouds/service_catalog/__init__.py b/sky/clouds/service_catalog/__init__.py index 446cfc36936..61b3e44919b 100644 --- a/sky/clouds/service_catalog/__init__.py +++ b/sky/clouds/service_catalog/__init__.py @@ -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') diff --git a/sky/clouds/service_catalog/kubernetes_catalog.py b/sky/clouds/service_catalog/kubernetes_catalog.py index f0b623a7662..2127bb5e37f 100644 --- a/sky/clouds/service_catalog/kubernetes_catalog.py +++ b/sky/clouds/service_catalog/kubernetes_catalog.py @@ -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)