from
Fabio Zadrozny <fabioz at esss dot com dot br>
to
Sylvain Thenault <syt at logilab dot fr>
subject
PyLint problems
date
Hi Sylvain,2005/01/25 13:44
I have been able to use pylint with qt (that is, it doesn't crash anymore).
But now I'm trying to get more from it, there are some things that I still
cannot do:
E.g.:
If I have:
---------------------------------------
import qt
class WidgetS(qt.QWidget):
def returnSize(self):
return self.frameSize()
---------------------------------------
I get the error:
ID:E0201 WidgetS.returnSize: Access to undefined member 'frameSize'
Even though this is a QWidget method.
Another problem I have I think is more at the customization level:
I declare some attributes within a method in properties.create as shown
below.
---------------------------------------
from coilib.tools import properties
class Test2:
properties.create(x = 0, y = 0)
def met1(self):
print self.x
---------------------------------------
And get the error:
ID:E0201 Test2.met1: Access to undefined member 'x'
I would like to know how could I customize it so that it didn't show that
error when I declare something the way I do.
Anyway, it is working much better now... Next PyDev release will contain the
0.6 version of PyLint!
P.s. any plans of supporting the python 2.4 syntax?
[]s
Fabio Zadrozny
------------------------------------------------------
Software Developer
ESSS - Engineering Simulation and Scientific Software
www.esss.com.br
