Skip to content

Pyright doesn't throw errors if I try to use a class method that doesn't exist #8348

Answered by kappa90
kappa90 asked this question in Q&A
Discussion options

You must be logged in to vote

Apologies, I wrote that code from memory, not copying the actual code, just to show what my problem is.

I realized that the problem was in the Pylance configuration. The python.analysis.typeCheckingMode value had been set to off from another extension.

Thank you and sorry for the misunderstanding.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kappa90
Comment options

@erictraut
Comment options

@kappa90
Comment options

Answer selected by kappa90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants