You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, I'm not 100% sure if this is a bug, but it seems to be at least unexpected behaviour to me.
I've captured the problem in this video:
output.mp4
Basically, adding the exclude field in the pyproject.toml file makes pyright analyse the entire .venv folder, which takes a LOT of time and it keeps redoing it when you install new dependencies or restart the language server.
If you provide an explicit exclude setting, there are no auto-excludes and you are responsible for specifying which directories. I suspect what's happening is that you have a virtual environment in your project folder, so pyright is treating all of the files within this virtual environment as project source files and attempting to type check them.
Check for existing issues
Describe the bug / provide steps to reproduce it
First off, I'm not 100% sure if this is a bug, but it seems to be at least unexpected behaviour to me.
I've captured the problem in this video:
output.mp4
Basically, adding the exclude field in the pyproject.toml file makes pyright analyse the entire .venv folder, which takes a LOT of time and it keeps redoing it when you install new dependencies or restart the language server.
Steps to reproduce:
0. Install uv
uv init && uv venv && source .venv/bin/activate && uv add torch equinox
pyproject.toml
file and add:Environment
Zed: v0.164.0 (Zed Dev 114c462)
OS: macOS 15.0.1
Memory: 18 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: