Open pylint-bot opened 9 years ago
Originally reported by: Pedro Rodriguez (BitBucket: pedrorodriguez, GitHub: @pedrorodriguez?)
I tested this by running
pip install hg+https://bitbucket.org/logilab/pylint@master pip install hg+https://bitbucket.org/logilab/astroid@master
which grabbed commit: 99df5f6
When I run the following code through pylint I get an error that seems like a bug:
# in enum_lint.py from enum import Enum MyEnum = Enum('MyEnum', 'KEY VALUE') value = MyEnum.KEY
$ pylint enum_lint.py ************* Module enum_lint E: 5, 8: Class 'MyEnum' has no 'KEY' member (no-member)
Originally reported by: Pedro Rodriguez (BitBucket: pedrorodriguez, GitHub: @pedrorodriguez?)
I tested this by running
which grabbed commit: 99df5f6
When I run the following code through pylint I get an error that seems like a bug: