Closed jamlamberti closed 4 years ago
The best fix I have so far is instead of ignoring all of numpy (or disabling the no-member issue), you can list some of the generated members in the pylint.rc file.
For example:
[TYPECHECK]
...
generated-members=numpy.median,numpy.eye,numpy.cov
...
For certain modules (e.g. numpy), pylint has a hard time figuring out what the member functions are.
Example:
A fix for this was made in astroid and pylint, which made a significant improvement at detecting member functions (see https://bitbucket.org/logilab/pylint/issues/58).
It might be worth upgrading both astroid and pylint as it will fix the issue. My local pylint install correctly identifies eye as a member of numpy.