forked from rotki/rotki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylint.rc
147 lines (126 loc) · 3.29 KB
/
.pylint.rc
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[MASTER]
jobs=4
persistent=yes
suggestion-mode=yes
unsafe-load-any-extension=no
init-hook="import sys; sys.path.append('.')"
load-plugins=tools.pylint.log_checker,tools.pylint.not_checker
# Blacklist files or directories (basenames, not paths)
ignore=
# blacklist files or directories by regex (basenames, not paths)
ignore-patterns=
[EXCEPTIONS]
overgeneral-exceptions=Exception
[BASIC]
bad-names=foo,bar,baz,toto,tutu,tata
good-names=i,j,k,_
[LOGGING]
logging-modules=logging
[MESSAGES CONTROL]
# These are rules we either want to completely ignore or have no time to fix yet
#disable=
# missing-module-docstring,
# missing-function-docstring,
# invalid-name,
# line-too-long,
# too-many-locals,
# missing-class-docstring,
# too-many-lines,
# too-many-arguments,
# too-many-return-statements,
# fixme,
# redefined-outer-name,
# logging-fstring-interpolation,
# arguments-differ,
# protected-access,
# too-few-public-methods,
# too-many-public-methods,
# too-many-statements,
# too-many-branches,
# unused-wildcard-import,
# too-many-instance-attributes,
# too-many-nested-blocks,
# wrong-import-position,
# attribute-defined-outside-init,
# wildcard-import,
# wrong-import-order,
# abstract-method
# When wanting to discover new things to check for comment the following line and uncomment above
disable=all
enable=
no-value-for-parameter,
too-many-format-args,
no-member,
bad-except-order,
redefined-builtin,
unused-variable,
no-self-use,
import-self,
useless-object-inheritance,
unused-argument,
unexpected-keyword-arg,
expression-not-assigned,
pointless-statement,
unused-import,
inconsistent-return-statements,
reimported,
too-many-function-args,
no-else-raise,
no-else-return,
raise-missing-from,
useless-return,
consider-iterating-dictionary,
comparison-with-callable,
import-outside-toplevel,
redefined-outer-name,
redefined-argument-from-local,
useless-super-delegation,
super-init-not-called,
super-with-arguments,
unneeded-not,
unreachable,
unnecessary-pass,
broad-except,
unsubscriptable-object,
unnecessary-lambda,
isinstance-second-argument-not-valid-type,
unsupported-membership-test,
confusing-with-statement,
no-else-break,
method-hidden,
chained-comparison,
consider-using-enumerate,
bare-except,
no-else-continue,
deprecated-method,
consider-using-in,
superfluous-parens,
return-in-init,
undefined-loop-variable,
assignment-from-none,
simplifiable-if-expression,
bad-super-call,
duplicate-string-formatting-argument,
misplaced-comparison-constant,
unidiomatic-typecheck,
rotki-lognokwargs,
rotki-nonbooleannot
[REPORTS]
reports=no
score=no
[FORMAT]
expected-line-ending-format=LF
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
max-line-length=100
max-module-lines=1000
no-space-check=trailing-comma
[VARIABLES]
callbacks=cb_,_cb
dummy-variables-rgx=_
ignored-argument-names=_.*
[TYPECHECK]
contextmanager-decorators=contextlib.contextmanager
# List of class names for which member attributes should not be checked
ignored-classes=
# List of module names for which member attributes should not be checked
ignored-modules=