Eliminate no-member errors in Pylint

When using a module such as numpy or OpenCV, the following message is displayed.

E: 35,65: Module 'numpy' has no 'deg2rad' member (no-member)
E: 65,28: Module 'cv2' has no 'imread' member (no-member)

There was an option to not check the members of these modules.

pylint --extension-pkg-whitelist=numpy,cv2 sample.py

For SublimeLinter, make the pylint section of User Settings look like this:

            "pylint": {
                "@disable": false,
                "args": ["--extension-pkg-whitelist=numpy, cv2"],
                "disable": "",
                "enable": "",
                "excludes": [],
                "paths": [],
                "rcfile": "",
                "show-codes": false
            }

Recommended Posts

Eliminate no-member errors in Pylint
[Python] Eliminate Chrome Webdriver errors
Errors related to memcached in django