Skip to content

Commit

Permalink
Fix no-member issue on Signal for PySide2 (#700)
Browse files Browse the repository at this point in the history
Based on patch proposed by akai10tsuki on pylint-dev/pylint#2585
  • Loading branch information
aboellinger authored and PCManticore committed Oct 9, 2019
1 parent 276ada6 commit 1490cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/brain/brain_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ def emit(self, signal): pass
MANAGER.register_transform(
nodes.ClassDef,
transform_pyside_signal,
lambda node: node.qname() == "PySide.QtCore.Signal",
lambda node: node.qname() in ("PySide.QtCore.Signal", "PySide2.QtCore.Signal"),
)

0 comments on commit 1490cda

Please sign in to comment.