Can't turn off Cursor Pyright (basedpyright) type checking

Describe the Bug

No matter what I set the Cursor Pyright type checking to it acts as if it is on all. I tried to turn it off completely and nothing. I can see the error/warning counter flash off and go back to what is it was before briefly when I switch options but they are all as if I have all selected.

Can I manually reinstall pylance or something? It is quite annoying to have error/warning spam all over my files especially considering all of the fall positives that come with basedpyright.

Steps to Reproduce

  • install Cursor Pyright
  • notice your files are full of errors and warnings
  • turn off type checking, or change it from the default basic
  • observe that all the warnings and errors are the same

Expected Behavior

Type checking options dropdown actually works (when is set it to off all warning and errors go away bare minimum)

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, thanks for the report.

Pinging @ravirahman as our topic expert on this!

2 Likes

thank you its painful out here (quite a few false positives too)

Hi @ColemanDunn, thank you for this report. We have fixed this in version 1.0.6 of the Anysphere Python extension to provide defaults that are more similar to Pylance / VSCode.

I just got the Python extension update, which created a lot of unwanted error warnings. It’s all fine before the update.

Hi @GitandGeek, thank you for flagging this issue. We had an issue with the build in 1.0.6 where the stdlib typestubs were not copied in, causing the builtin types to be missing. Could you try upgrading to version 1.0.7 of the Python extension?

Had the same problem, fixed it by adding this to pyrightconfig.json:

 {
     "typeCheckingMode": "off"
 }

didn’t work when I put it in my settings

2 Likes

Still getting the issue. I uninstalled and reinstalled the plugin. Is there some sort of pyright cache i need to clear? Setting it to off does not work. Same issue as before where I can see the number of errors/warnings flash when I change the value in the dropdown. Even when i set it to off (which i do not prefer) I get seemingly all type checking and my file is full of errors and warnings (some being false positives)


Do you have a pyrightconfig.json or pyproject.toml file (with a [tool.pyright] section) in the project? If so, could you explicitly set the typeCheckingMode = "off" (or “basic” / “standard”) in that file? The settings in the editor are not applied if either of these files is present.

I do not

Making a pyrightconfig.json and changing the typeCheckingMode made the warning and error spam go away, but imports are not working anymore? They also aren’t working without a pyrightconfig.json now as well it seems. Here is some example code showing how excessive it is while having type checking set to off with no pyrightconfig.json.

No import suggestions for ClassFromAnotherFile or nothing. On vscode I was able to control import settings with the python.analysis.packageIndexDepths option. Is there an equivalent for cursor pyright?

Update (still not working): I have removed all python. Settings from my vscode settings.json. There are no python specific settings configured at all. I have uninstalled and reinstalled the Anysphere python extension (Cursor Pyright). I have type checking set to off, but it is reporting errors as if I have it set to the maximum settings. I can still see it flash when I change the type checking mode as if it is restarting with the new settings but then ignores them.

Is there any debug info I can look at or caches I need to clear? Here is a video of my tab always reporting errors in the top left despite the setting I pick.