[Python-projects] pygobject/gobject-introspection with pylint

Simon Schampijer simon at schampijer.de
Wed Nov 30 20:05:38 CET 2011


Hi,

I tired to run pylint* over code that is using gobject-introspection like:

from gi.repository import Gtk
button = Gtk.Button()

Pylint does not seem to recognize this:

E:  1: No name 'Gtk' in module 'gi.repository'

I googled and grep'ed a bit around and it does not seem to have been 
came up so far. Is this not supported at present?  Are there any plans 
to do so?

Thanks in advance,
    Simon


* pylint-0.23.0


More information about the Python-Projects mailing list