Revision 80f3f415

b/pylintrc
11 11

  
12 12
[REPORTS]
13 13
output-format = colorized
14
include-ids = no
14
include-ids = yes
15 15
files-output = no
16 16
reports = no
17 17
evaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
......
19 19

  
20 20
[BASIC]
21 21
required-attributes =
22
no-docstring-rgx = __.*__
22
# disabling docstring checks since we have way too many without (complex
23
# inheritance hierarchies)
24
#no-docstring-rgx = __.*__
25
no-docstring-rgx = .*
23 26
module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
24
const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__))$
27
# added lower-case names
28
const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__)|(_?[a-z_][a-z0-9_]*))$
25 29
class-rgx = _?[A-Z][a-zA-Z0-9]+$
26
function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main)$
27
method-rgx = (_{0,2}[A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*|__.*__)$
30
# added lower-case names
31
function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main|([a-z_][a-z0-9_]*))$
32
# add lower-case names, since derived classes must obey method names
33
method-rgx = (_{0,2}[A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*|__.*__|([a-z_][a-z0-9_]*))$
28 34
attr-rgx = [a-z_][a-z0-9_]{1,30}$
29 35
argument-rgx = [a-z_][a-z0-9_]*$
30
variable-rgx = (_?([a-z_][a-z0-9_]*)|([A-Z0-9_]+))$
36
variable-rgx = (_?([a-z_][a-z0-9_]*)|(_?[A-Z0-9_]+))$
31 37
inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$
32 38
good-names = i,j,k,_
33 39
bad-names = foo,bar,baz,toto,tutu,tata
......
48 54
defining-attr-methods = __init__,__new__,setUp
49 55

  
50 56
[DESIGN]
51
max-args = 6
52
max-locals = 15
53
max-returns = 6
54
max-branchs = 12
55
max-statements = 50
57
max-args = 15
58
max-locals = 50
59
max-returns = 10
60
max-branchs = 80
61
max-statements = 200
56 62
max-parents = 7
57
max-attributes = 7
58
min-public-methods = 2
59
max-public-methods = 20
63
max-attributes = 20
64
# zero as struct-like (PODS) classes don't export any methods
65
min-public-methods = 0
66
max-public-methods = 50
60 67

  
61 68
[IMPORTS]
62 69
deprecated-modules = regsub,string,TERMIOS,Bastion,rexec
......
66 73

  
67 74
[FORMAT]
68 75
max-line-length = 80
69
max-module-lines = 1000
76
max-module-lines = 10000
70 77
indent-string = "  "
71 78

  
72 79
[MISCELLANEOUS]

Also available in: Unified diff