Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r131 - trunk/repoguard/dev/pylintrc

repoguard
Discussion topic

Back to topic list

svn commit: r131 - trunk/repoguard/dev/pylintrc

Author schlauch
Full name Tobias Schlauch
Date 2012-09-14 08:42:13 PDT
Message Author: schlauch
Date: 2012-09-14 08:42:13-0700
New Revision: 131

Modified:
   trunk/repoguard/dev/pylintrc

Log:
Adapted coding style rules:
-dn for distinguish name is allowed
-method can have longer names
- only one public method is required of objects.

Modified: trunk/repoguard/dev/pylintrc
Url: http://repoguard.tig​ris.org/source/brows​e/repoguard/trunk/re​poguard/dev/pylintrc​?view=diff&pathr​ev=131&r1=130​&r2=131
====================​====================​====================​==================
--- trunk/repoguard/dev/pylintrc (original)
+++ trunk/repoguard/dev/pylintrc 2012-09-14 08:42:13-0700
@@ -79,7 +79,7 @@
 function-rgx=[a-z_][​a-z0-9_]{2,40}$
 
 # Regular expression which should only match correct method names
-method-rgx=[a-z_][a​-z0-9_]{2,40}$
+method-rgx=[a-z_][a​-z0-9_]{2,50}$
 
 # Regular expression which should only match correct instance attribute names
 attr-rgx=[a-z_][a-z0-9_]{2,30}$
@@ -95,7 +95,7 @@
 inlinevar-rgx=[A-Za-​z_][A-Za-z0-9_]*$
 
 # Good variable names which should always be accepted, separated by a comma
-good-names=i,j,k,ex,Run,_
+good-names=i,j,k,ex,dn,Run,_
 
 # Bad variable names which should always be refused, separated by a comma
 bad-names=foo,bar,ba​z,toto,tutu,tata
@@ -197,7 +197,7 @@
 max-attributes=7
 
 # Minimum number of public methods for a class (see R0903).
-min-public-methods=2
+min-public-methods=1
 
 # Maximum number of public methods for a class (see R0904).
 max-public-methods=20

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r131 - trunk/repoguard/dev/pylintrc schlauch Tobias Schlauch 2012-09-14 08:42:13 PDT
Messages per page: