[Python-projects] A first impression of pylint
Alexandre.Fayolle at external.electrabel.com
Alexandre.Fayolle at external.electrabel.com
Thu Jul 16 09:25:26 CEST 2009
> -----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
* 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.
--
Alexandre
ELECTRABEL NV/SA, 8 Regentlaan - Boulevard du Régent
1000 Brussel - Bruxelles, 0403170701, RPR/RPM Brussel/Bruxelles
=======================================================
"This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy it or disclose its contents to anyone. All messages sent to and from Electrabel will be monitored to ensure compliance with internal policies, to protect our interests and to eliminate potential malware. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks. "
http://www.electrabel.be/homepage/general/disclaimer_EN.asp
=======================================================
More information about the Python-Projects
mailing list