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'm not sure 'uninitialized' qualifies as a type, but mypy does track execution paths to narrow types of variables within certain scopes, so it may not be too hard to detect errors like in the example above.
The text was updated successfully, but these errors were encountered:
Feature request.
The following code does not trigger any warnings in mypy 0.711:
I'm not sure 'uninitialized' qualifies as a type, but mypy does track execution paths to narrow types of variables within certain scopes, so it may not be too hard to detect errors like in the example above.
The text was updated successfully, but these errors were encountered: