Email Re: [Python-projects] running pylint in a specian environment

from
subject
Re: [Python-projects] running pylint in a specian environment
date
2005/08/18 14:38
Sylvain Thénault wrote:
> The logilab/common/astng/builder.py contains the ASTNGBuilder class,
> which has a string_build method will also probably be needed.

> However, the quickest approach is probably to make a tiny script
> wrapping pylint to make the preprocessing first, writing the result to a
> file, and calling pylint on it. Another idea is to make pylint accept a
> "-" argument, telling him to parse the standard input so you'll be able
> to do '<some funky stuff> file_to_check.py | pylint -'

I already saw logilab.common.fileutils.norm_open. It's used to open the 
file to be checked.

I replaced __builtin__.open with my svn_open and it seems to be working. 
At least I see no more module not found errors.

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


is a reply to
has reply