Richard Elkins
Richard Elkins

Reputation: 317

Getting E1101 errors ("no member") from spyder's static code analysis

Lately (since something changed in spyder or pylint or ?), I have been getting E1101 errors ("no member") from spyder's static code analysis on astropy.constants symbols. No idea why or what changed.

Upvotes: 0

Views: 185

Answers (1)

Richard Elkins
Richard Elkins

Reputation: 317

My simplistic solution for all users on a Linux or Unix system (Mac is probably similar) was to create an /etc/pylintrc as follows:

[TYPECHECK]
ignored-modules=astropy.constants

Of course, this could, instead, be put in a personal $HOME/.pylintrc file.

And, I could have updated an existing file.

Upvotes: 1

Related Questions