~libravatar/libravatar/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[MESSAGES CONTROL]
disable=old-style-class,no-value-for-parameter,missing-docstring,line-too-long,locally-disabled,fixme,no-member,maybe-no-member,too-many-public-methods,no-init,too-few-public-methods,super-on-old-class

[REPORTS]
output-format=text
files-output=no
reports=no

[SIMILARITIES]
min-similarity-lines=4
ignore-comments=yes
ignore-docstrings=yes

[BASIC]
bad-functions=map,filter,apply,input
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
class-rgx=[A-Z_][a-zA-Z0-9]+$
function-rgx=[a-z_][a-z0-9_]{2,30}$
method-rgx=[a-z_][a-z0-9_]{2,30}$
attr-rgx=[a-z_][a-z0-9_]{2,30}$
argument-rgx=[a-z_][a-z0-9_]{2,30}$
variable-rgx=[a-z_][a-z0-9_]{2,30}$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
good-names=i,j,k,ex,Run,_,s,x,y,z,h,w,e,l
bad-names=foo,bar,baz,toto,tutu,tata
no-docstring-rgx=__.*__

[VARIABLES]
init-import=no
dummy-variables-rgx=_|dummy|unused

[MISCELLANEOUS]
notes=FIXME,XXX,TODO

[FORMAT]
max-line-length=80
max-module-lines=1000
indent-string='    '

[DESIGN]
max-args=6
ignored-argument-names=_.*
max-locals=20
max-returns=9
max-branches=15
max-statements=50
max-parents=7
max-attributes=7
min-public-methods=2
max-public-methods=20