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
Run pylint on the following file with numpy=1.16.2 in the environment:
import numpy as np
np.logical_or.reduce([0, 0, 0])
Current behavior
This error is generated:
E1101: Function 'logical_or' has no 'reduce' member (no-member)
Expected behavior
No error.
Notes
It seems like there were some major changes in numpy 1.16.2 which have caused issues like #2839 and #2721. I tried using the version of astroid in this PR which is supposed to address #2721 but I still get the same error: pylint-dev/astroid#664
Steps to reproduce
Run pylint on the following file with
numpy=1.16.2
in the environment:Current behavior
This error is generated:
Expected behavior
No error.
Notes
It seems like there were some major changes in numpy 1.16.2 which have caused issues like #2839 and #2721. I tried using the version of astroid in this PR which is supposed to address #2721 but I still get the same error: pylint-dev/astroid#664
pylint --version output
pylint 2.3.1
astroid 2.2.5
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0]
The text was updated successfully, but these errors were encountered: