-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylint.rc
55 lines (36 loc) · 1.24 KB
/
.pylint.rc
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]
# Specify the maximum number of allowed nested blocks for functions/methods.
max-nested-blocks = 5
[MESSAGES CONTROL]
# Enable or disable specific pylint messages.
disable = C0114, C0115, C0116, E1101, R0901, R0903, R0913, too-few-public-methods
[BASIC]
# Specify the output format. "colorized" is a good choice for terminals.
output-format = colorized
[FORMAT]
# Set the maximum line length. The recommended value is 88 characters.
max-line-length = 100
[TYPECHECK]
# Enable type hint checking. Requires Python 3.5+.
# Python 2 users can skip this section.
# Note: You need to install the 'mypy' package for type hint checking.
check-untyped-defs = true
warn-return-any = true
warn-unused-ignores = true
[IMPORTS]
# Enable checking of import order and grouping. Django projects often have
# specific import conventions.
import-order-style = google
[DESIGN]
# Enable checking for good naming conventions.
good-names = i, j, k, ex, Run, _
[SIMILARITIES]
# Enable checking for code duplication.
min-similarity-lines = 10
[LOGGING]
# Enable checking of logging format string.
logging-format-interpolation = f-string
[DOCS]
# Enable checking of docstring conventions.
# Customize this according to your project's docstring style.
convention = numpy