-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Milestone
Description
I have a similar issue, using pylint 2.14.5 and Python 3.8 on this minimal example:
class Block:
def __init__(self):
self._cacheDir = None
@property
def cacheDir(self):
if self._cacheDir is None:
self.cacheDir = cacheDir
return self._cacheDir
@cacheDir.setter
def cacheDir(self, value: str):
self._cacheDir = value
Is there a way to stop the duplicates from showing up or is this the expected behavior?
Originally posted by @VasLem in #83 (comment)