@ravirahman in reference to Can't turn off Cursor Pyright (basedpyright) type checking - #13 by ravirahman since that one is closed and I can’r reply there, I figured it out.
I have basedpyright in my dev dependencies in my pyproject.toml. From the basedpyright log files:
[Info - 4:06:44 PM] basedpyright language server 1.36.1 starting
[Info - 4:06:44 PM] Server root directory: file:///[PATH TO MY PROJECT]/.venv/lib/python3.13/site-packages/basedpyright/dist
[Info - 4:06:44 PM] Starting service instance "[MY PROJECT]"
Received pythonPath from Python extension: [PATH TO MY PROJECT]/.venv/bin/python
[Info - 4:06:44 PM] Setting pythonPath for service "[MY PROJECT]": "[PATH TO MY PROJECT]/.venv/bin/python"
[Info - 4:06:44 PM] No include entries specified; assuming [PATH TO MY PROJECT]
[Info - 4:06:44 PM] Auto-excluding **/node_modules
[Info - 4:06:44 PM] Auto-excluding **/__pycache__
[Info - 4:06:44 PM] Auto-excluding **/.*
[Info - 4:06:44 PM] Assuming Python version 3.13.11.final.0
[Info - 4:06:44 PM] BG: Background analysis(1) root directory: file:///[PATH TO MY PROJECT]/.venv/lib/python3.13/site-packages/basedpyright/dist
[Info - 4:06:44 PM] BG: Background analysis(1) started
[Info - 4:06:44 PM] Found 108 source files
I can tell it is identifying and trying to use the basedpyright in my virtual environment. It is only when I uninstall it by removing it from my pyproject.toml and running uv sync then quitting and reopening cursor that it starts working again.