-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generated-member
option is not properly documented
#7944
Comments
Could you try the |
It works well with commend argument like this By the way, have I done any wrong operation above? Why |
By default C extensions are not loaded into the active Python interpreter (they may run arbitrary code). The By the way you should use |
generated-member
option is not properly documented
Actually I have already found that |
Bug description
I tried to use
pylint
in Google Python Style Guide, but I couldn't enhance my score of pylint because tons ofno-member / E1101
especiallycv2
.I have already read no-member / E1101 and tried all solutions, but didn't work.
After some logging(simply
print
),.../python3.8/site-package/pylint/lint/run.py
[137:141+1]:and run
pylint test.py
, I got this:seems that
pylint
get the correct rcfile, butno-member / E1101
still appears after I change these in~/.pylintrc
one by one:still got this from
pylint test.py
:Test code(
test.py
):Simply run(
python test.py
), to make sure this code is runnable:Installed(
conda list | grep 'pylint\|cv'
):More Info(
which python
):Configuration
Command used
Pylint output
Expected behavior
pylint
can recognizecv2
and other c-package correctly, instead of popingno-member / E1101
.Pylint version
OS / Environment
macOS Ventura 13.0, Apple M1
iTerm, zsh
Additional dependencies
albumentations==1.3.0
astroid==2.12.13
certifi==2022.9.24
charset-normalizer==2.1.1
coloredlogs==15.0.1
contourpy==1.0.6
cycler==0.11.0
Cython==0.29.32
dill==0.3.6
easydict==1.10
<- my personal private github python package url
flatbuffers==22.12.6
fonttools==4.38.0
humanfriendly==10.0
idna==3.4
imageio==2.22.4
insightface==0.6.2
isort==5.11.1
joblib==1.2.0
kiwisolver==1.4.4
lazy-object-proxy==1.8.0
matplotlib==3.6.2
mccabe==0.7.0
mpmath==1.2.1
networkx==2.8.8
numpy==1.23.4
onnx==1.12.0
onnxruntime==1.13.1
onnxruntime-silicon==1.11.1
opencv-python-headless==4.6.0.66
packaging==21.3
Pillow==9.3.0
platformdirs==2.6.0
prettytable==3.5.0
protobuf==3.20.1
pylint==2.15.8
pynput==1.7.6
pyobjc-core==9.0
pyobjc-framework-ApplicationServices==9.0
pyobjc-framework-Cocoa==9.0
pyobjc-framework-Quartz==9.0
pyparsing==3.0.9
python-dateutil==2.8.2
PyWavelets==1.4.1
PyYAML==6.0
qudida==0.0.4
requests==2.28.1
scikit-image==0.19.3
scikit-learn==1.1.3
scipy==1.9.3
six==1.16.0
sympy==1.11.1
threadpoolctl==3.1.0
tifffile==2022.10.10
tomli==2.0.1
tomlkit==0.11.6
tqdm==4.64.1
typing_extensions==4.4.0
urllib3==1.26.13
wcwidth==0.2.5
wrapt==1.14.1
The text was updated successfully, but these errors were encountered: