diff --git a/pyproject.toml b/pyproject.toml index eaa3b59e36..fbafaf4c96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.