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