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
|
# 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
"consider-using-from-import",
"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-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements", # TODO: we should work on these: too-many-xxx series
"unnecessary-ellipsis",
"use-dict-literal", # Sometime it is preferable when we construct kwargs
]
|