Merge "Move pylint disable comment to an effective place"

This commit is contained in:
Zuul 2020-09-03 06:41:24 +00:00 committed by Gerrit Code Review
commit 7e37ee92ac
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ class DictModel(collections.abc.MutableMapping):
def __copy__(self):
return type(self)(self)
def __deepcopy__(self, memo): # pylint: disable=no-value-for-parameter
def __deepcopy__(self, memo):
# pylint: disable=no-value-for-parameter
cls = self.__class__
result = cls.__new__(cls)
memo[id(self)] = result