-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'ClassDef' object has no attribute 'value' #6366
Comments
@dickreuter thanks for your report. Could you please follow the issue template submission so that we have at least a small piece of code to start with? |
The issue only occurred when the folder with the venv was included in the scanned files. |
I reproduced a similar failure in this scenario, linting a file from class Extensions:
def get_extension_for_oid(self):
for _ in self:
pass
__len__, __iter__ = lambda x: x
|
Running the latest version of pylint (2.6, and also with 2.4.4), I get this error:
astroid/bases.py:113: AttributeError: 'ClassDef' object has no attribute 'value'
Any suggestions on what could be causing it would be greatly appreciated.
The text was updated successfully, but these errors were encountered: