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
mypy is expecting me to explicitly return None instead of return, but I'd expect that to be inferred as there's little point in me telling it i return None
def f(i: int) -> Optional[int]:
if i > 3:
return # fails but return None works
return i * 3