We'd accidentally overwritten the default exclude directories for pyright, so it was searching the .venv folder for python files and finding loads. This significantly speeds up operations such as goto-reference!
I also point pyright at the .venv subdirectory, so that pyright automatically recognizes the virtual environment. I'm a bit unsure if that will interfere with others' workflows - poetry by default stores venvs in some other directory.
Test failure was due to polars 1.1 or 1.2 introducing a difference in the behavior of how structs containing only nulls are handled. Fixing that currently.
We'd accidentally overwritten the default exclude directories for pyright, so it was searching the
.venv
folder for python files and finding loads. This significantly speeds up operations such as goto-reference!I also point pyright at the
.venv
subdirectory, so that pyright automatically recognizes the virtual environment. I'm a bit unsure if that will interfere with others' workflows - poetry by default stores venvs in some other directory.