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
ssl.VerifyMode and other Enums not recognized #3691
Labels
Comments
24 tasks
brycepg
added
Needs astroid Brain 🧠
Needs a brain tip in astroid (then an astroid upgrade)
Bug 🪲
labels
Jun 16, 2020
Thanks for the report. I can verify this bug. If someone would like to have a go at fixing this, I would recommend populating these variables in |
cipherboy
added a commit
to cipherboy/astroid
that referenced
this issue
Feb 4, 2022
astroid's brian_ssl wrapper lacks several enums constructed in the core ssl module. This eventually affects pylint's ability to parse code which makes use of these enums: > example.py:9:6: E1101: Module 'ssl' has no 'VerifyMode' member (no-member) Adding these enums to brain_ssl fixes the reported issue against pylint. See also: pylint-dev/pylint#3691 Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
2 tasks
cipherboy
added a commit
to cipherboy/astroid
that referenced
this issue
Feb 4, 2022
astroid's brian_ssl wrapper lacks several enums constructed in the core ssl module. This eventually affects pylint's ability to parse code which makes use of these enums: > example.py:9:6: E1101: Module 'ssl' has no 'VerifyMode' member (no-member) Adding these enums to brain_ssl fixes the reported issue against pylint. See also: pylint-dev/pylint#3691 Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Steps to reproduce
pylint
against it:Current behavior
ssl.VerifyMode
doesn't get detectedExpected behavior
ssl.VerifyMode
should be detected.pylint --version output
and
I believe this has to do with how it is constructed in the module:
The text was updated successfully, but these errors were encountered: