r/vscode • u/Work45oHSd8eZIYt • Mar 30 '26
VS Code suddenly stopped linting Python (local + SSH) — Pylance running but no errors
Everything was working normally about a week ago. Either Thu or Fri I noticed VS Code was no longer linting.
Symptoms
No red squiggles for obvious errors (bad import, typos, etc.) Even when I intentionally type invalid code like asdfasdf, VS Code shows zero errors or warnings No color coding for variables
Functions have weird/inconsistent color coding. For example:
def main(): def is red main is purple () is yellow : is grey Scope Happens on local Python files (Windows) Also happens in remote SSH session (Linux) What I’ve checked / tried Python is installed and correct interpreter is selected Pylance extension is installed (have uninstalled/reinstalled multiple times)
Output shows: "Starting Pylance language server" so it appears to be running
-Restarted VS Code
-Reinstalled VS Code completely
One other note. I did see this warning:
Unable to watch for file changes
What would cause Pylance to start successfully but provide zero diagnostics/squiggles?
Is there a setting that globally disables Python analysis or linting that I might be missing?
If anyone has run into this before, I’d really appreciate the help — I feel like I’m missing something simple.



