Pylance - ignore _deps folder

In my case it was adding 3115 Python files and VS Code kept indexing them.
This commit is contained in:
Andrej730
2026-03-12 12:45:11 +05:00
parent 77697aeefc
commit 82951fe702
+6
View File
@@ -28,6 +28,12 @@ extend-exclude = '''
reportInvalidTypeForm = false
disableBytesTypePromotions = true
reportUnnecessaryTypeIgnoreComment = true
# Pylance doesn't respect gitignore, so we have to exclude files manually here
# to avoid VS Code slowing down.
# https://github.com/microsoft/pylance-release/issues/5169
exclude = [
"_deps",
]
# Define here general ruff settings,
# then they will be inherited by projects' .toml files.