Skip to content

Commit 528f29a

Browse files
authored
Extend pyright exclude list in pyproject.toml (microsoft#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

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 9 additions & 1 deletion
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)