Skip to content

Commit 528f29a

Browse files
authoredMar 31, 2025
Extend pyright exclude list in pyproject.toml (#24246)
### Description Improve the performance of file glob for pyright. This helps to improve VSCode performance (if pyright plugin is installed)
1 parent ad2e565 commit 528f29a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎pyproject.toml

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
convention = "google"
33

44
[tool.pyright]
5-
exclude = ["onnxruntime/core/flatbuffers/*"]
5+
exclude = [
6+
"onnxruntime/core/flatbuffers/*",
7+
"cmake/external/**",
8+
"**/node_modules/**",
9+
"**/__pycache__/**",
10+
"**/build/**",
11+
"**/build_*/**",
12+
"**/.DS_Store/**",
13+
]
614
reportMissingImports = false
715

816
[tool.ruff]

0 commit comments

Comments
 (0)