You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the problem might be something around the keywordis. Here are my test cases:
The first one is the case you provided:
And the second test case is:
I changed the keyword is to the operator == and it shows that mypy detects the error. Therefore, I believe the problem can be located with the keyword is.
I will continue working on this by further inspecting the source code and updating my process! However, I am new to mypy and not familiar with that. It would be best if you can provide me with some information that which files I should pay more attention to.
Bug Report
To Reproduce
Expected Behavior
mypy error + runtime error
Actual Behavior
no mypy error
Your Environment
The text was updated successfully, but these errors were encountered: