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
$ python repr.py
1
True
$ mypy --strict repr.py
Success: no issues found in 1 source file
$ pytype-single repr.py
File "repr.py", line 4, in Foo: Type annotation for FOO does not match type of assignment [annotation-type-mismatch]
Annotation: int
Assignment: enum.auto
For more details, see https://google.github.io/pytype/errors.html#annotation-type-mismatch
The text was updated successfully, but these errors were encountered:
Description
This simple example fails, even though it passes with
mypy --strict
. I am using pytype 2023.08.22.Example Code
Steps to Reproduce
The text was updated successfully, but these errors were encountered: