[Python-projects] A first impression of pylint
Marius Gedminas
marius at gedmin.as
Thu Jul 16 16:28:21 CEST 2009
On Thu, Jul 16, 2009 at 09:25:26AM +0200, Alexandre.Fayolle at external.electrabel.com wrote:
> > -----Original Message-----
> > From: python-projects-bounces at lists.logilab.org [mailto:python-
> > projects-bounces at lists.logilab.org] On Behalf Of Marius Gedminas
> > Sent: jeudi 16 juillet 2009 0:11
> > To: python-projects at lists.logilab.org
> > Subject: [Python-projects] A first impression of pylint
>
> Thanks for your feedback.
>
> > Actually, as I keep checking whether that pylint run is finally done,
> I
> > realize that speed may have been the decisive factor for my choice.
> > Our full suite of unit and functional tests takes 20 minutes, which is
> > an eternity to me; pylint (yay it's finished at last!) took 17
> minutes.
>
> Two quick notes, before others give you a more complete answer :
>
> * using 'pylint -e' will only report Errors and therefore considerably
> speed up things
I neglected to mention that I was using pylint -e.
> * disabling the similarities checker can significantly improve speed,
> especially when running on a large code base. I'm responsible for this
> part of the code, and the complexity (from the top of my head) is
> O(n**2) (n being the number of lines in the code base). We should
> probably disable it automatically (unless the user explicitely asks for
> it) when the number of lines exceeds some threshold.
Sounds like a good idea.
Marius Gedminas
--
I once held a little hand
That made my sad heart sing.
Twas the loveliest hand I'd ever held,
Four Aces and a King
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090716/f6f2c64f/attachment.pgp>
More information about the Python-Projects
mailing list