-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpylintrc.toml
More file actions
33 lines (28 loc) · 961 Bytes
/
pylintrc.toml
File metadata and controls
33 lines (28 loc) · 961 Bytes
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
[tool.pylint.messages_control]
disable = "all"
enable = [
# These are always needed to ensure that a crash within pylint itself appropriately causes a failure
"astroid-error",
"fatal",
# Rules relating to errors found parsing this config file
"config-parse-error",
"unknown-option-value",
"useless-option-value",
# General rules for pylint being used correctly in the code
"unrecognized-inline-option",
"useless-suppression",
# Rules we actually care about
"duplicate-code",
]
[tool.pylint.similarities]
# Minimum lines number of a similarity.
min-similarity-lines = 4
# Ignore comments when computing similarities.
ignore-comments = "yes"
# Ignore docstrings when computing similarities.
ignore-docstrings = "no"
# Ignore imports when computing similarities.
ignore-imports = "yes"
# Ignore code of dubious quality that we need to include that came straight from a vendor
[tool.pylint.MAIN]
ignore-paths = '^(.+/)?vendor_files/.*'