forked from beancount/beancount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
77 lines (73 loc) · 1.64 KB
/
.pylintrc
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[MASTER]
ignore=
BUILD
persistent=yes
load-plugins=pylint_protobuf
[REPORTS]
output-format=text
files-output=no
reports=no
[MESSAGES CONTROL]
enable=all
disable=locally-disabled,
suppressed-message,
missing-docstring,
too-many-lines,
multiple-statements,
superfluous-parens,
ungrouped-imports,
wrong-import-position,
no-self-argument,
no-member,
no-value-for-parameter,
too-many-function-args,
unsubscriptable-object,
too-many-nested-blocks,
no-self-use,
redefined-variable-type,
duplicate-code,
too-few-public-methods,
too-many-public-methods,
too-many-branches,
too-many-arguments,
too-many-locals,
too-many-statements,
attribute-defined-outside-init,
protected-access,
arguments-differ,
abstract-method,
fixme,
global-variable-undefined,
global-statement,
unused-variable,
unused-argument,
redefined-outer-name,
redefined-builtin,
undefined-loop-variable,
broad-except,
logging-format-interpolation,
anomalous-backslash-in-string,
len-as-condition,
no-else-return,
invalid-unary-operand-type,
no-name-in-module,
inconsistent-return-statements,
not-callable,
stop-iteration-return,
assignment-from-no-return,
c-extension-no-member,
cyclic-import,
isinstance-second-argument-not-valid-type,
bad-continuation,
inherit-non-class,
consider-using-with
[BASIC]
good-names=f,i,j,k,ex,_
argument-rgx=(_?[a-z_][a-z0-9_]{1,30}|__|mu)$
attr-rgx=[a-z_][a-z0-9_]{1,30}$
function-rgx=_?[a-z_][a-zA-Z0-9_]{2,64}$
method-rgx=[a-z_][a-zA-Z0-9_]{2,72}$
module-rgx=(([a-z_][a-z0-9_\-]*)|([A-Z][a-zA-Z0-9]+))$
variable-rgx=(_?[a-z_][a-z0-9_]{1,30}|__|mu|no)$
[FORMAT]
max-line-length=92