-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
55 lines (43 loc) · 1.47 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
[MASTER]
jobs=0 # Speed up PyLint by using one process per CPU core.
load-plugins=pylint.extensions.bad_builtin,
pylint.extensions.broad_try_clause,
pylint.extensions.check_elif,
pylint.extensions.docparams,
pylint.extensions.mccabe,
pylint.extensions.overlapping_exceptions,
pylint.extensions.redefined_variable_type,
# Fail if there are *any* messages from PyLint.
# The letters refer to PyLint's message categories, see
# https://pylint.pycqa.org/en/latest/messages/messages_introduction.html
fail-on=C,E,F,I,R,W
[MESSAGES CONTROL]
enable=
all
disable=
# Docstrings are encouraged but we don't want to enforce that everything
# must have a docstring.
missing-docstring,
# We don't always want to have to put a `:return:` in a docstring.
missing-return-doc,
# We don't always want to document the types of things with :type: and
# :rtype: in docstrings.
missing-type-doc,
missing-return-type-doc,
missing-yield-type-doc,
# We use isort to sort and group our imports, so we don't need PyLint to
# check them for us.
ungrouped-imports,
# We use Black to format our code automatically, so we don't need PyLint to
# check formatting for us.
line-too-long,
too-few-public-methods,
# Enable tuning in the code itself
suppressed-message,
locally-disabled,
good-names=
# request.db
db
[REPORTS]
output-format=colorized
score=no