-
Notifications
You must be signed in to change notification settings - Fork 33
/
.pylintrc
93 lines (67 loc) · 1.83 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
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
[MASTER]
# Use multiple processes to speed up Pylint.
jobs = 0
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
pylint.extensions.docstyle,
# Configure quote preferences.
string-quote = single-avoid-escape
triple-quote = double
docstring-quote = double
[MESSAGES CONTROL]
# not-callable throws a lot of false positives with pylint-1.6.
disable=
duplicate-code,
fixme,
invalid-name,
locally-enabled,
locally-disabled,
no-else-break,
no-else-continue,
no-else-return,
not-callable,
relative-import,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
[REPORTS]
# Disable verbose reports.
reports = no
# Activate the evaluation score.
score = no
[FORMAT]
# Maximum number of characters on a single line.
max-line-length = 80
[BASIC]
# List of builtins function names that should not be used, separated by a comma.
# exit & quit are for the interactive interpreter shell only.
# https://docs.python.org/3/library/constants.html#constants-added-by-the-site-module
bad-functions=
apply,
exit,
filter,
input,
map,
quit,
raw_input,
reduce,
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines = 8
[IMPORTS]
# Deprecated modules which should not be used, separated by a comma.
deprecated-modules = regsub,TERMIOS,Bastion,rexec,optparse
[LOGGING]
# Apply logging string format checks to calls on these modules.
logging-modules=
logging,