[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Standardizing python code using pylint

From: Bhuvaneswaran A <bhuvan_at_collab.net>
Date: Mon, 07 Dec 2009 11:05:09 +0530

On Mon, 2009-12-07 at 00:00 +0300, Роман Донченко wrote:
> > As discussed in this email thread [1], I've come up with the pylint
> > rules for standardizing the python code throughout the repository.
>
> > Based on the above rules I've run pylint report for few python
> scripts,
> > and they are accessible from here. The reports are not intuitive,
> but it
> > should give us an hint on current coding standard:
> > http://people.apache.org/~bhuvan/pylint/
>
> > We should set a minimum score for any python code that is checked-in
> our
> > repository. I suggest it to be 9.80/10.00. Comments are welcome. Any
> > questions, let me know. Thank you.
>
> Perhaps you could also run it on our Python bindings?

Done. Pylint violation report updated for *all* python scripts in
repository.
     http://people.apache.org/~bhuvan/pylint/

Please take a look and suggest list of error/fatal/warning we should fix
in our code.

-- 
Bhuvaneswaran A    
CollabNet Software P Ltd.  |  www.collab.net

Received on 2009-12-07 06:35:57 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.