exclude .bazel and node_modules from Pylance indexing

Should hopefully prevent VS Code from burning CPU needlessly.
Pyright is not intended to be used outside of VS Code, as a lot of our
legacy code depends on optionals not being checked strictly.

Yet another tool that pollutes the root folder. :-(
This commit is contained in:
Damien Elmes 2022-01-25 12:44:50 +10:00
parent 7501ff7ab5
commit 57778a74e9

3
pyrightconfig.json Normal file
View File

@ -0,0 +1,3 @@
{
"exclude": ["**/node_modules", ".bazel"]
}