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.

Please sign in to leave a comment.