Since mypy 0.990, mypy emits a warning if a variable is annotated in a function without type annotation, see [mypy 0.990 release notes](https://mypy-lang.blogspot.com/2022/11/mypy-0990-released.html). Such a warning ends up being reported as a test failure in pytest-mypy, erroneously.
Since mypy 0.990, mypy emits a warning if a variable is annotated in a function without type annotation, see mypy 0.990 release notes.
Such a warning ends up being reported as a test failure in pytest-mypy, erroneously.