forked from microsoft/onnxruntime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (36 loc) · 913 Bytes
/
pyproject.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
30
31
32
33
34
35
36
37
38
39
40
41
[tool.black]
line-length = 120
# extend-exclude needs to be a regular expression
extend-exclude = "cmake|onnxruntime/core/flatbuffers/"
target-version = ["py37", "py38", "py39", "py310"]
[tool.isort]
profile = "black"
line_length = 120
extend_skip_glob = [
"cmake/*",
"orttraining/*",
"onnxruntime/core/flatbuffers/*",
]
[tool.pydocstyle]
convention = "google"
[tool.pylint.BASIC]
good-names = [
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n",
"p", "q", "r", "s", "t", "u", "v", "w", "ex", "Run", "_", "x", "y", "z"
]
[tool.pylint.messages_control]
disable = [
"format",
"line-too-long",
"import-error",
"no-name-in-module",
"no-member",
"too-many-arguments",
"too-many-locals",
"too-few-public-methods",
"missing-docstring",
"fixme",
]
[tool.pyright]
exclude = ["onnxruntime/core/flatbuffers/*"]
reportMissingImports = false