forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
67 lines (67 loc) · 1.98 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
[MESSAGES CONTROL]
disable=
# W start
redefined-builtin,
broad-exception-caught,
fixme,
bare-except,
redefined-outer-name,
attribute-defined-outside-init,
unspecified-encoding,
global-statement,
protected-access,
broad-exception-raised,
subprocess-popen-preexec-fn,
logging-not-lazy,
unknown-option-value,
unused-wildcard-import,
wildcard-import,
unused-argument,
deprecated-module,
pointless-string-statement,
arguments-renamed,
duplicate-string-formatting-argument,
# C start
consider-using-f-string,
invalid-name,
line-too-long,
missing-module-docstring,
missing-function-docstring,
import-outside-toplevel,
missing-class-docstring,
superfluous-parens,
too-many-lines,
trailing-newlines,
missing-final-newline,
use-implicit-booleaness-not-len,
wrong-import-order,
use-implicit-booleaness-not-comparison,
consider-using-enumerate,
unnecessary-lambda-assignment,
consider-using-dict-items,
consider-iterating-dictionary,
# R start
duplicate-code,
consider-using-with,
too-many-statements,
too-many-branches,
too-many-locals,
too-many-arguments,
too-few-public-methods,
too-many-return-statements,
consider-using-in,
too-many-nested-blocks,
too-many-public-methods,
chained-comparison,
too-many-instance-attributes,
too-many-boolean-expressions,
use-a-generator,
too-many-positional-arguments
[REPORTS]
reports=no
[TYPECHECK]
# See https://stackoverflow.com/questions/10300082/how-to-prevent-python-pylint-complaining-about-socket-class-sendall-method
ignored-classes=SQLObject,_socketobject
[MASTER]
init-hook='import sys; sys.path.append("./addons")'
suggestion-mode=yes