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_strict --strict-optional test.py
test.py:5: error: Need type annotation for variable
It's not happy about the strings variable. When I used reveal_type on test and test() the outputs seemed reasonable, but it's failing here. Adding an explicit type annotation to strings or making the function return Iterator[str] both fix the problem.