Skip to content

Commit

Permalink
{Pylint} Fix unused-private-member (Azure#30347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli authored Nov 20, 2024
1 parent 10f3594 commit b639c9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ disable=
consider-using-dict-items,
consider-using-enumerate,
redundant-u-string-prefix,
unused-private-member,
# These rules were added in Pylint >= 2.12, disable them to avoid making retroactive change
missing-timeout,
superfluous-parens,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(
self.__cmd = cmd
self.__model_module = None
self.__model_dict = None
self.__serializer = None
self.resource_type = resource_type
self.__set_up_base_aks_models()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class KuduClient: # pylint:disable=too-many-instance-attributes
def __init__(self, cmd, resource_group_name, name, bot, logger):
self.__cmd = cmd
self.__resource_group_name = resource_group_name
self.__name = name
self.__name = name # pylint: disable=unused-private-member
self.__bot = bot
self.__logger = logger

Expand Down Expand Up @@ -224,7 +224,7 @@ def __empty_wwwroot_folder_except_for_node_modules(self):
HttpResponseValidator.check_response_status(response)
self.__logger.info('All files and folders successfully removed from "site/wwwroot/" except for node_modules.')

def __empty_wwwroot_folder(self):
def __empty_wwwroot_folder(self): # pylint: disable=unused-private-member
"""Empty the site/wwwroot/ folder from Kudu.
Empties the site/wwwroot/ folder by removing the entire directory, and then recreating it. Called when
Expand Down

0 comments on commit b639c9d

Please sign in to comment.