forked from microsoft/onnxscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject_pylint.toml
29 lines (28 loc) · 940 Bytes
/
pyproject_pylint.toml
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
# Relax pylint for lintrunner
[tool.pylint.messages_control]
disable = [
"attribute-defined-outside-init", # TODO: mostly in onnxscript/converter.py
"cell-var-from-loop", # Bugbear B023
"cyclic-import",
"duplicate-code",
"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",
"redefined-builtin", # TODO: should we avoid redefined-builtin?
"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", # TODO: we should work on these: too-many-xxx series
"use-dict-literal", # Sometime it is preferable when we construct kwargs
]