I use pylint and gmpy2 on Kali Linux(WSL2). Pylint makes many complaints about being unable to find gmpy2 members. How can I avoid this?
Here is a little example:
import gmpy2
print(gmpy2.is_even(6))
And the result of pylint is
tst.py:2:6: E1101: Module 'gmpy2' has no 'is_even' member (no-member)
I also tried this on ArchLinux, the result is the same.
According to the document
You should add
extension-pkg-whitelist
argument in command line or the pylintrc file.Here is the original issue I opened in the Github.