pylint with python_qt_bindings
Hi there,
I was starting to use pylint to check all my python files for common errors and for continuous integration purposes. However, pylint does not like the python_qt_bindings module, it complains about not finding names in modules.
I have:
from python_qt_binding.QtCore import Qt, Signal
which gives
[no-name-in-module] No name 'QtCore' in module 'python_qt_binding' [E0611] (E)
The code itself runs absolutely fine and also when manually invoking the above line in a pythonshell everything runs as expected, it's just pylint complaining.
python_qt_binding promotes all the submodules by adding them to sys.modules[__name__]
which at first seems fine, as well.
Does anyone have a workaround for this? I am unsure which is the side causing the problem - pylint not recognizing the submodules or python_qt_binding not promoting the submodules good enough.