[Python-projects] __init__ method from a non direct base class <logilab.astng.Yes object at 0xb7f8392c> is called
skip at pobox.com
skip at pobox.com
Tue Nov 21 15:14:55 CET 2006
Alexandre> A way of achieving this could be adding a hook that would be
Alexandre> run when pylint starts, in order to ease sys.path
Alexandre> manipulation. Usage example:
Alexandre> pylint --init-hook='import pygtk; pygtk.require("2.6")' [other options] mymodule
This would work nicely.
Alexandre> We could also consider having a few shortcuts for some common
Alexandre> cases, such as --with-pygtk=2.6, if there is demand for this.
I'm not sure this would work, and in any case wouldn't be as general as the
first solution.
Skip
More information about the Python-Projects
mailing list