Replies: 2 comments 12 replies
-
Linting is kind of subjective, but if you set 'typeCheckingMode' to 'off', that should eliminate all of the errors that Pylance shows besides syntax errors. But intellisense and everything else would still work. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure have you got my point or even try your answer either, or what? Bypassing Linting (error, warnings, etc.) while keeping Type-Checking (Type annotation/hint) in place and the suggestion is setting 'typeCheckingMode' to 'off' ?! really? (it's the other way and the default)
My guess is you at Pylance, think of Code Analysis in Python(a dynamic typed scripting language) as of a strong typed language that is not right. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm using Ruff as my Python Linter, so don't need Pylance Linting functionality, but want to keep using PyRight as static Type-Checking tool.
I've tried many settings/configurations to achieve that but no success yet!
Why are these Language Server/Linter and Type Checker so tight coupled anyway?!
Is there a way to do so or should just use another tool e.g: mypy instead?
Any suggestions would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions