-
Notifications
You must be signed in to change notification settings - Fork 176
/
pylintrc
103 lines (91 loc) · 2.8 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[FORMAT]
# Regexp for a line that is allowed to be longer than the limit.
# URLs and pure strings
ignore-long-lines=^\s*(# )?<?https?://\S+>?$|^\s*[f|r]?b?[\"\'\`].+[\"\'\`]$
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=
# Docstrings
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
# Imports
import-outside-toplevel,
unused-import,
wrong-import-position,
# Potential bugs
abstract-method,
broad-except,
cyclic-import,
expression-not-assigned,
keyword-arg-before-vararg,
modified-iterating-list,
no-member,
redefined-argument-from-local,
redefined-outer-name,
super-init-not-called,
unbalanced-tuple-unpacking,
unspecified-encoding,
unsubscriptable-object,
# Syntax / Logic
chained-comparison,
consider-iterating-dictionary,
consider-merging-isinstance,
consider-using-dict-items,
consider-using-enumerate,
consider-using-f-string,
consider-using-generator,
consider-using-in,
consider-using-set-comprehension,
consider-using-with,
global-statement,
line-too-long,
logging-fstring-interpolation,
no-else-break,
no-else-raise,
no-else-return,
raise-missing-from,
simplifiable-if-expression,
simplifiable-if-statement,
unidiomatic-typecheck,
unnecessary-comprehension,
unnecessary-ellipsis,
unnecessary-pass,
use-a-generator,
use-dict-literal,
useless-else-on-loop,
useless-object-inheritance,
useless-parent-delegation,
useless-return,
# Refactoring
attribute-defined-outside-init,
duplicate-code,
invalid-name,
protected-access,
too-few-public-methods,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-function-args,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-nested-blocks,
too-many-public-methods,
too-many-statements,
unused-argument,
# Ignore
fixme,
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
output-format=colorized