You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pylint test.py
************* Module test
test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
test.py:3:0: C0115: Missing class docstring (missing-class-docstring)
test.py:7:17: E1101: Function 'members' has no 'items' member (no-member)
Your code has been rated at -4.00/10 (previous run: -4.00/10, +0.00)
@chiefnoah thanks for this report and the reproducer.
I can reproduce it.
The faulty commit is the same as the one of #895 (cc3bfc5).
I'm looking for a fix.
@chiefnoah i reverted the faulty commit in #901. I am the author of this commit. It was a try to improve the inference of numpy objects.
Apologies for the regression you faced.
Steps to reproduce
__members__
field:Current behavior
$ pylint test.py
************* Module test
test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
test.py:3:0: C0115: Missing class docstring (missing-class-docstring)
test.py:7:17: E1101: Function 'members' has no 'items' member (no-member)
Your code has been rated at -4.00/10 (previous run: -4.00/10, +0.00)
Expected behavior
Not complaining about
__members__.items()
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output2.5
See #895
The text was updated successfully, but these errors were encountered: