Unresolved attribute reference 'emit' for class 'pyqtSignal'
It seems that pyqtsignal has a special treatment in PyQt: http://stackoverflow.com/questions/2970312/pyqt4-qtcore-pyqtsignal-object-has-no-attribute-connect
Is there a way in PyCharm to add an exception like "emit/connect/disconnect are valid for pyqtsignal"? I don't want to add an exception for all the classes, and it would be nice to avoid PyCharm specific comments in the code.
请先登录再写评论。
This issue is still present in present date PyQt5 / PyCharm 2022.1.2. The code seen in the screenshot below can be seen here.
https://github.com/Xevion/tcp-chat/blob/5050a1154f9f10922d5bd4c5ae5beece60b2e672/client/worker.py#L40