Replies: 1 comment 3 replies
-
You said "having both installed is not recommended". What are you referring to when you say "both"? The Pyright CLI tool can be installed along with the Pyright VS Code extension. The Pyright CLI can also be installed with the Pylance VS Code extension. However, the two VS Code extensions (Pylance and Pyright) shouldn't both be installed. If you want to run type analysis on your entire workspace interactively, the Pyright or Pylance VS Code extension can do that too. Just set the "python.analysis.diagnosticMode" setting to "workspace". By default, both extensions default to "openFilesOnly". |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pyright is available as an npm package and having both installed is not recommended as said in the documentation, so is there a way run the linting for a project as a whole?
Beta Was this translation helpful? Give feedback.
All reactions