On 09/01/10 16:53, Emile Anclin wrote:
pylint is a static code checker, so mod.py will not be executed, hence
no modification of sys.modules.

But the --init-hook option (see pylint --long-help) might help:

      --init-hook=<code>   Python code to execute, usually for sys.path
                         manipulation such as pygtk.require().


$ pylint --init-hook='print "QSDFSD"' example.py
QSDFSD
[...]
Thanks a lot.
I'm sorry I haven't found this option myself

regards,
Jakub Zytka

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

Reply via email to