-
-
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
no-member with Qt signals using PySide2 #2585
Labels
Comments
Thanks for reporting an issue! |
PCManticore
added
Bug 🪲
Needs astroid Brain 🧠
Needs a brain tip in astroid (then an astroid upgrade)
labels
Nov 23, 2018
This is more or less related to issue #1633 Until new version is release I patch brain_qt.py and the error is not raised. --- brain/brain_qt.py 2019-01-01 12:08:36.921238400 -0500
+++ brain/brain_qt.1.py 2019-01-01 12:21:51.070181400 -0500
@@ -80,3 +80,8 @@
transform_pyside_signal,
lambda node: node.qname() == "PySide.QtCore.Signal",
)
+MANAGER.register_transform(
+ nodes.ClassDef,
+ transform_pyside_signal,
+ lambda node: node.qname() == "PySide2.QtCore.Signal",
+) |
This file is found on the astroid module of your python installation. site-packages/astroid/brain/brain_qt.py |
aboellinger
added a commit
to aboellinger/astroid
that referenced
this issue
Sep 29, 2019
Based on patch proposed by akai10tsuki on pylint-dev/pylint#2585
This was referenced Sep 29, 2019
PCManticore
pushed a commit
to pylint-dev/astroid
that referenced
this issue
Sep 30, 2019
Based on patch proposed by akai10tsuki on pylint-dev/pylint#2585
PCManticore
pushed a commit
to pylint-dev/astroid
that referenced
this issue
Oct 9, 2019
Based on patch proposed by akai10tsuki on pylint-dev/pylint#2585
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Steps to reproduce
pylint .\signal_test.py --extension-pkg-whitelist=PySide2
Current behavior
signal_test.py:5:0: E1101: Instance of 'Signal' has no 'connect' member (no-member)
Expected behavior
No errors
pylint --version output
Note that this was addressed for PySide in #1633
The text was updated successfully, but these errors were encountered: