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 have a function add(x,y) that adds two floats, and that that the user can specify. If no custom function add is given, default_add is used. If it is given, I'm adding a little wrapper code to assert stuff:
I have a function
add(x,y)
that adds two floats, and that that the user can specify. If no custom functionadd
is given,default_add
is used. If it is given, I'm adding a little wrapper code to assert stuff:Running mypy on the above gives
When adding explicit typing to
fun2
,one incorrectly gets
mypy.ini
(and other config files): -The text was updated successfully, but these errors were encountered: