Email Re: [Python-projects] PyLint: Two questions and a bug report

from
to
Joel Rosdahl <joel at rosdahl dot net>
subject
Re: [Python-projects] PyLint: Two questions and a bug report
date
2005/09/29 06:59
On Wednesday 28 September à 19:35, Joel Rosdahl wrote:
> Joel Rosdahl <joel@rosdahl.net> writes:

> > [...]
> > 3. I have trouble using PyLint on classes that inherit PyGTK classes.
> > Consider this program:
> >
> > === [begin] ==========================================================
> > import gtk
> >
> > class FooButton(gtk.Button):
> >     def __init__(self):
> >         pass
> >
> > print gtk.Button
> > === [end] ============================================================
> > [...]

> Oh, the reason for that is of course that the gtk module is C module.
> Is there any way around this other than resorting to Pychecker or
> Pyflakes (which import modules and thus handle C modules)?

pylint should handle this. I'll take a look asap, now I'm oo much short
in time. Thanks for the report anyway :)
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects