Skip to content

PyRight shows errors for operator return values #303

Closed Answered by JonathanPlasse
Andrej730 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is a compromise.
Either we have auto-completion and type checking of the return literals but being more verbose or less verbose but not auto-completion and type checking.
This is really sad that microsoft/pyright/issues/8647 is not fixable.

What would you prefer?

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@Andrej730
Comment options

@JonathanPlasse
Comment options

Answer selected by nutti
@JonathanPlasse
Comment options

@Andrej730
Comment options

@JonathanPlasse
Comment options

@Andrej730
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants