I know Cursor Pyright uses the open source basedpyright, but I am experiencing several issues where the settings are not respected whatsoever, nor can I restart the Cursor Pyright server because it just errors when I try to do so. The huge amount of error reporting from things that are not even errors makes editing python in Cursor nearly unbearable, not to mention it makes the AI do really annoying and needless workarounds, that part is super annoying and borderline unusable.
In short, the errors are:
Cursor Pyright does not respect the type checking mode setting, even when I turn it completely off, it seemingly reports errors as if it were on strict mode
Screenshot 2025-12-09 at 1.43.35 PM.png
I cannot restart the Cursor Pyright server. The command is there in the command palette, and it goes away when I uninstall the plugin, but it never works when I execute it
Screenshot 2025-12-09 at 1.44.44 PM.png
Screenshot 2025-12-09 at 1.44.36 PM.png
Steps to Reproduce
Install cursor pyright
Set type checking mode to off
Open any reasonably sized python file that uses external libraries
Observe tons of errors and warnings despite being set to off
Try and restart the server
It will error
Expected Behavior
type checking mode is respected
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
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.