Disable "no-value-for-parameter" pep8 error in DictModel

This pep8 error ocurrs sporadically, as reported in related bug.
The creation of a new DictModel class empty object during the
deepcopy process only needs the class type only.

Change-Id: Iba4f2ea700f01fd153104741614eec4855d0f387
Closes-Bug: #1893316
This commit is contained in:
Rodolfo Alonso Hernandez 2020-08-28 09:40:39 +00:00
parent 945a244588
commit 3ae3c080db
1 changed files with 1 additions and 1 deletions

View File

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