forked from onnx/onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject_pylint.toml
More file actions
27 lines (26 loc) · 824 Bytes
/
pyproject_pylint.toml
File metadata and controls
27 lines (26 loc) · 824 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
# Relax pylint for lintrunner and CI.
# Exclude patterns should be modified in .lintrunner.toml
[tool.pylint.messages_control]
disable = [
"arguments-differ", # The reference runtime tend to use inheritance and redefine methods.
"cyclic-import",
"fixme",
"format",
"import-error",
"invalid-name", # TODO: Add naming guidance and enable this check.
"line-too-long",
"missing-docstring",
"no-else-return",
"no-member",
"no-name-in-module",
"too-few-public-methods",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-return-statements",
"use-dict-literal", # Dict literals are sometimes preferable when creating kwargs
"useless-return",
"wrong-import-order",
]