from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
to
Andreas Amoroso <a.amoroso at freenet dot de>
subject
Re: PyLint (fwd)
date
> Date: Wed, 05 May 2004 09:05:51 +02002004/05/10 11:52
> From: Andreas Amoroso <a.amoroso@freenet.de>
> To: contact@logilab.fr
> Subject: PyLint
>
> Dear reader,
>
> please find attached a zip-archive containing to files (with diffs) from
> the latest PyLint distribution with modifications. These modifications:
> - fix buglets (added checks for attribute presence before these
> attributes are accessed)
this one has already been fixed in the CVS.
> - add file output via two new options (useful e.g. when checking console
> applications that use curses or something similar)
I've checked in your patch with some slight modifications (only add one
option to tell that we want output to files, format is specified with
the usual --html and --parseable options). It will be included in the
soon to come pylint's next release.
One thing I'm not sure about : did you want to have one file per checked
module or one file per module/package specified on the command line ?
(currently it's the latter, plus one file for statistic reports if any)
> I think these snippets might contribute to the stability and usability
> of PyLint.
yes, thanks for the patch !
> Additionally, please consider to include an empty __init__.py
> in the logilab directory of the common installer as the absence of this
> file prevents PyLint from starting.
hum, the setup.py script of both pylint and common should create the
file if it doesn't exists. Do you have installed them using the regular
"python setup.py install" command ?
regards
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
