Revision 70c771f6
b/Makefile.am | ||
---|---|---|
148 | 148 |
$(MAINTAINERCLEANFILES) \ |
149 | 149 |
NEWS \ |
150 | 150 |
DEVNOTES \ |
151 |
pylintrc \ |
|
151 | 152 |
autotools/docbook-wrapper \ |
152 | 153 |
devel/upload.in \ |
153 | 154 |
$(docrst) \ |
b/pylintrc | ||
---|---|---|
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] |
|
6 |
profile = no |
|
7 |
ignore = |
|
8 |
persistent = no |
|
9 |
cache-size = 50000 |
|
10 |
load-plugins = |
|
11 |
|
|
12 |
[REPORTS] |
|
13 |
output-format = colorized |
|
14 |
include-ids = no |
|
15 |
files-output = no |
|
16 |
reports = no |
|
17 |
evaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
|
18 |
comment = yes |
|
19 |
|
|
20 |
[BASIC] |
|
21 |
required-attributes = |
|
22 |
no-docstring-rgx = __.*__ |
|
23 |
module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ |
|
24 |
const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__))$ |
|
25 |
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]*)*|__.*__)$ |
|
28 |
attr-rgx = [a-z_][a-z0-9_]{1,30}$ |
|
29 |
argument-rgx = [a-z_][a-z0-9_]*$ |
|
30 |
variable-rgx = (_?([a-z_][a-z0-9_]*)|([A-Z0-9_]+))$ |
|
31 |
inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$ |
|
32 |
good-names = i,j,k,_ |
|
33 |
bad-names = foo,bar,baz,toto,tutu,tata |
|
34 |
bad-functions = |
|
35 |
|
|
36 |
[TYPECHECK] |
|
37 |
ignore-mixin-members = yes |
|
38 |
zope = no |
|
39 |
acquired-members = |
|
40 |
|
|
41 |
[VARIABLES] |
|
42 |
init-import = no |
|
43 |
dummy-variables-rgx = _ |
|
44 |
additional-builtins = |
|
45 |
|
|
46 |
[CLASSES] |
|
47 |
ignore-iface-methods = |
|
48 |
defining-attr-methods = __init__,__new__,setUp |
|
49 |
|
|
50 |
[DESIGN] |
|
51 |
max-args = 6 |
|
52 |
max-locals = 15 |
|
53 |
max-returns = 6 |
|
54 |
max-branchs = 12 |
|
55 |
max-statements = 50 |
|
56 |
max-parents = 7 |
|
57 |
max-attributes = 7 |
|
58 |
min-public-methods = 2 |
|
59 |
max-public-methods = 20 |
|
60 |
|
|
61 |
[IMPORTS] |
|
62 |
deprecated-modules = regsub,string,TERMIOS,Bastion,rexec |
|
63 |
import-graph = |
|
64 |
ext-import-graph = |
|
65 |
int-import-graph = |
|
66 |
|
|
67 |
[FORMAT] |
|
68 |
max-line-length = 80 |
|
69 |
max-module-lines = 1000 |
|
70 |
indent-string = " " |
|
71 |
|
|
72 |
[MISCELLANEOUS] |
|
73 |
notes = FIXME,XXX,TODO |
|
74 |
|
|
75 |
[SIMILARITIES] |
|
76 |
min-similarity-lines = 4 |
|
77 |
ignore-comments = yes |
|
78 |
ignore-docstrings = yes |
Also available in: Unified diff