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
|
|
|
|
|
|
|
|
[tool.pylint.'MESSAGES CONTROL']
|
2022-06-22 17:27:58 +00:00
|
|
|
disable = ["format", "line-too-long", "import-error", "no-name-in-module", "fixme", "too-few-public-methods"]
|
2022-05-16 20:26:56 +00:00
|
|
|
|
|
|
|
|
[tool.pyright]
|
|
|
|
|
exclude = ["onnxruntime/core/flatbuffers/*"]
|
|
|
|
|
reportMissingImports = false
|