summaryrefslogtreecommitdiffstats
path: root/pylintrc
blob: bb9c636867e1a89afa689cb4bbb901411cd3cf7a (plain)
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
[MASTER]
# Pickle collected data for later comparisons.
persistent=no

# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=pylint_plugins

# Use multiple processes to speed up Pylint.
jobs=0

[MESSAGES CONTROL]

enable=
    all,
    python3

disable=
    I,
    cyclic-import,
    duplicate-code,
    import-error,
    interface-not-implemented,
    no-self-use,
    redefined-variable-type,
    simplifiable-if-statement,
    too-few-public-methods,
    too-many-ancestors,
    too-many-arguments,
    too-many-boolean-expressions,
    too-many-branches,
    too-many-instance-attributes,
    too-many-locals,
    too-many-nested-blocks,
    too-many-public-methods,
    too-many-return-statements,
    too-many-statements,
    import-error,
    abstract-method,
    anomalous-backslash-in-string,
    arguments-differ,
    attribute-defined-outside-init,
    bad-builtin,
    bad-indentation,
    broad-except,
    dangerous-default-value,
    eval-used,
    exec-used,
    fixme,
    global-statement,
    global-variable-not-assigned,
    no-init,
    pointless-statement,
    pointless-string-statement,
    protected-access,
    redefine-in-handler,
    redefined-builtin,
    redefined-outer-name,
    super-init-not-called,
    undefined-loop-variable,
    unnecessary-lambda,
    unused-argument,
    unused-variable,
    useless-else-on-loop,
    bad-classmethod-argument,
    bad-continuation,
    bad-mcs-classmethod-argument,
    bad-mcs-method-argument,
    bad-whitespace,
    blacklisted-name,
    invalid-name,
    line-too-long,
    missing-docstring,
    multiple-statements,
    old-style-class,
    superfluous-parens,
    too-many-lines,
    unidiomatic-typecheck,
    no-absolute-import,
    wrong-import-order,
    ungrouped-imports,
    wrong-import-position,
    unsubscriptable-object,
    unsupported-membership-test,
    not-an-iterable,
    singleton-comparison,
    misplaced-comparison-constant,
    unneeded-not,
    not-a-mapping,
    singleton-comparison


[REPORTS]

# Set the output format. Available formats are text, parseable, colorized, msvs
# (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=colorized

# Tells whether to display a full report or only the messages
reports=no

# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg})'