2022-04-23 13:23:04 +00:00
|
|
|
[tool.black]
|
|
|
|
|
line-length = 120
|
2022-04-26 16:35:16 +00:00
|
|
|
# extend-exclude needs to be a regular expression
|
|
|
|
|
extend-exclude = "cmake|onnxruntime/core/flatbuffers/"
|
2022-04-27 21:52:19 +00:00
|
|
|
target-version = ["py37", "py38", "py39", "py310"]
|
2022-04-23 13:23:04 +00:00
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
|
profile = "black"
|
|
|
|
|
line_length = 120
|
2022-04-26 16:35:16 +00:00
|
|
|
extend_skip_glob = [
|
|
|
|
|
"cmake/*",
|
|
|
|
|
"orttraining/*",
|
|
|
|
|
"onnxruntime/core/flatbuffers/*",
|
|
|
|
|
]
|
2022-04-23 13:23:04 +00:00
|
|
|
|
|
|
|
|
[tool.pydocstyle]
|
|
|
|
|
convention = "google"
|
2022-05-16 20:26:56 +00:00
|
|
|
|
2022-07-27 20:42:29 +00:00
|
|
|
[tool.pylint.messages_control]
|
|
|
|
|
disable = [
|
|
|
|
|
"format",
|
|
|
|
|
"line-too-long",
|
|
|
|
|
"import-error",
|
|
|
|
|
"no-name-in-module",
|
|
|
|
|
"no-member",
|
|
|
|
|
"too-few-public-methods",
|
|
|
|
|
"missing-docstring",
|
|
|
|
|
"fixme",
|
|
|
|
|
]
|
2022-05-16 20:26:56 +00:00
|
|
|
|
|
|
|
|
[tool.pyright]
|
|
|
|
|
exclude = ["onnxruntime/core/flatbuffers/*"]
|
|
|
|
|
reportMissingImports = false
|