forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
86 lines (86 loc) · 2.56 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
78
79
80
81
82
83
84
85
86
[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,
redundant-u-string-prefix,
broad-exception-raised,
subprocess-popen-preexec-fn,
format-string-without-interpolation,
cell-var-from-loop,
logging-not-lazy,
unknown-option-value,
implicit-str-concat,
unused-wildcard-import,
pointless-statement,
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,
unnecessary-negation,
use-implicit-booleaness-not-len,
wrong-import-order,
use-implicit-booleaness-not-comparison,
multiple-imports,
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,
use-list-literal,
simplifiable-if-statement,
too-many-locals,
too-many-arguments,
no-else-return,
too-few-public-methods,
consider-using-min-builtin,
comparison-with-itself,
too-many-return-statements,
no-else-continue,
no-else-break,
inconsistent-return-statements,
consider-using-in,
too-many-nested-blocks,
too-many-public-methods,
consider-using-sys-exit,
use-dict-literal,
chained-comparison,
too-many-instance-attributes,
consider-using-join,
too-many-boolean-expressions,
useless-object-inheritance,
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