-
I wrote a simple Python code:
After trying to configure the pyright parameter "typeCheckingMode": "strict", I found that pyright cannot detect this error. I also tried many other configuration parameters, but none of them can identify this error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, pyright will identify this error even in basic type checking mode. Code sample in pyright playground There must be a problem with your configuration. Are you using the command-line version of pyright? The language server version? |
Beta Was this translation helpful? Give feedback.
Yes, pyright will identify this error even in basic type checking mode.
Code sample in pyright playground
There must be a problem with your configuration.
Are you using the command-line version of pyright? The language server version?