V
Vito De Tullio
I'm having probles using pylint on a PyQt4 application.
$ cat TEST_pylint.py
import PyQt4.QtCore
from PyQt4.QtGui import QApplication
$ python TEST_pylint.py # no import errors
$ pylint --disable-msg=C0103 --disable-msg=C0111 --disable-msg=W0611 \
E: 1: No name 'QtCore' in module 'PyQt4'
E: 2: No name 'QtGui' in module 'PyQt4'
[...cut...]
$ pylint --version
pylint 0.15.0,
astng 0.17.3, common 0.35.0
Python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
$ rpm -q python-qt4
python-qt4-4.5.snapshot.20090507-9.3
why pylint can't find the PyQt4 submodules?
$ cat TEST_pylint.py
import PyQt4.QtCore
from PyQt4.QtGui import QApplication
$ python TEST_pylint.py # no import errors
$ pylint --disable-msg=C0103 --disable-msg=C0111 --disable-msg=W0611 \
************* Module TEST_pylintTEST_pylint.py
E: 1: No name 'QtCore' in module 'PyQt4'
E: 2: No name 'QtGui' in module 'PyQt4'
[...cut...]
$ pylint --version
pylint 0.15.0,
astng 0.17.3, common 0.35.0
Python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
$ rpm -q python-qt4
python-qt4-4.5.snapshot.20090507-9.3
why pylint can't find the PyQt4 submodules?