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 wrote a plugin to replace types, but Mypy fails to typecheck after my changes. I start off trying to fix the type error in this signature with a plugin:
Bug Report
I wrote a plugin to replace types, but Mypy fails to typecheck after my changes. I start off trying to fix the type error in this signature with a plugin:
with my plugin:
I have tried going through the attrs of the functionsigcontext, api and the expr_checker but can't seem to find some other functionality to either:
To Reproduce
gist: https://gist.github.com/dibrinsofor/bddcbd2eedbb233b131bb1b8d562369a
Expected Behavior
I expect mypy to pass
Actual Behavior
even though printing the new signature returns:
def (a: builtins.str) -> builtins.int
Your Environment
1.14.0+dev.8c7db13f71098a6facea66ab165b6bc3ef688bdf
--show-traceback
Python 3.11.5
The text was updated successfully, but these errors were encountered: