PageRenderTime 391ms CodeModel.GetById 384ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/neatx/pylintrc

http://neatx.googlecode.com/
#! | 78 lines | 67 code | 11 blank | 0 comment | 0 complexity | ff06dae71c012a76766244ab0613cfb6 MD5 | raw file
 1# Configuration file for pylint (http://www.logilab.org/project/pylint). See
 2# http://www.logilab.org/card/pylintfeatures for more detailed variable
 3# descriptions.
 4
 5[MASTER]
 6profile = no
 7ignore =
 8persistent = no
 9cache-size = 50000
10load-plugins =
11
12[REPORTS]
13output-format = colorized
14include-ids = no
15files-output = no
16reports = no
17evaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
18comment = yes
19
20[BASIC]
21required-attributes =
22no-docstring-rgx = __.*__
23module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
24const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__))$
25class-rgx = _?[A-Z][a-zA-Z0-9]+$
26function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main)$
27method-rgx = (_{0,2}[A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*|__.*__)$
28attr-rgx = [a-z_][a-z0-9_]{1,30}$
29argument-rgx = [a-z_][a-z0-9_]*$
30variable-rgx = (_?([a-z_][a-z0-9_]*)|([A-Z0-9_]+))$
31inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$
32good-names = i,j,k,_
33bad-names = foo,bar,baz,toto,tutu,tata
34bad-functions =
35
36[TYPECHECK]
37ignore-mixin-members = yes
38zope = no
39acquired-members =
40
41[VARIABLES]
42init-import = no
43dummy-variables-rgx = _
44additional-builtins =
45
46[CLASSES]
47ignore-iface-methods =
48defining-attr-methods = __init__,__new__,setUp
49
50[DESIGN]
51max-args = 6
52max-locals = 15
53max-returns = 6
54max-branchs = 12
55max-statements = 50
56max-parents = 7
57max-attributes = 7
58min-public-methods = 2
59max-public-methods = 20
60
61[IMPORTS]
62deprecated-modules = regsub,string,TERMIOS,Bastion,rexec
63import-graph =
64ext-import-graph =
65int-import-graph =
66
67[FORMAT]
68max-line-length = 80
69max-module-lines = 1000
70indent-string = "  "
71
72[MISCELLANEOUS]
73notes = FIXME,XXX,TODO
74
75[SIMILARITIES]
76min-similarity-lines = 4
77ignore-comments = yes
78ignore-docstrings = yes