-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (30 loc) · 1.06 KB
/
pyproject.toml
File metadata and controls
35 lines (30 loc) · 1.06 KB
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
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
".git",
"build",
"dist",
]
# Same as Black.
line-length = 88
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.per-file-ignores]
"_doc/examples/plot_first_example.py" = ["E402", "F811"]
"_doc/examples/plot_onnxruntime.py" = ["E402", "F811"]
"onnx_array_api/array_api/_onnx_common.py" = ["F821"]
"onnx_array_api/light_api/__init__.py" = ["F401"]
"onnx_array_api/light_api/_op_var.py" = ["F821"]
"onnx_array_api/light_api/_op_vars.py" = ["F821"]
"onnx_array_api/light_api/annotations.py" = ["F821"]
"onnx_array_api/light_api/model.py" = ["F821"]
"onnx_array_api/npx/__init__.py" = ["F401", "F403"]
"onnx_array_api/npx/npx_functions.py" = ["F821"]
"onnx_array_api/npx/npx_functions_test.py" = ["F821"]
"onnx_array_api/npx/npx_tensors.py" = ["F821"]
"onnx_array_api/npx/npx_var.py" = ["F821"]
"onnx_array_api/profiling.py" = ["E731"]
"onnx_array_api/reference/__init__.py" = ["F401"]
"_unittests/ut_npx/test_npx.py" = ["F821"]