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
sample.py:11: error: Incompatible types in assignment (expression has type "Tuple[int, int, int, int]", variable has type "Tuple[bool, bool, bool, int]")
What is the behavior/output you expect?
I wouldn't expect mypy to see 'options' variable as Tuple[int, int, int, int], but rather Tuple[bool, bool, bool, int]
What are the versions of mypy and Python you are using?
Python 3.7.1
mypy 0.701
Do you see the same issue after installing mypy from Git master?
yes
What are the mypy flags you are using? (For example --strict-optional)
This occurs without any flags
Screenshot attached for some visuals. (The small script above is a simplified repro that still causes the error.)
The text was updated successfully, but these errors were encountered:
Are you reporting a bug, or opening a feature request?
Bug
Please insert below the code you are checking with mypy...
What is the behavior/output you expect?
I wouldn't expect mypy to see 'options' variable as
Tuple[int, int, int, int]
, but ratherTuple[bool, bool, bool, int]
What are the versions of mypy and Python you are using?
Python 3.7.1
mypy 0.701
Do you see the same issue after installing mypy from Git master?
yes
What are the mypy flags you are using? (For example --strict-optional)
This occurs without any flags
Screenshot attached for some visuals. (The small script above is a simplified repro that still causes the error.)
The text was updated successfully, but these errors were encountered: