Closed Delgan closed 1 year ago
3.11 is not supported by mypy yet.
Oh, I see. That could explain the issue, indeed.
Sorry for the noise, then. Feel free to close the ticket. It could be reconsidered when https://github.com/python/mypy/issues/12840 is completed, I guess.
Let's leave it open, we would need to inlcude tests for 3.11
Thanks for the report! 😄
It appears to be resolved with mypy==0.982
:)
Hi!
Tests are failing on Python 3.11 due to a Mypy error and I'm not sure why. :thinking:
I forked
pytest-mypy-plugins
and added3.11-dev
Python version to CI tests: https://github.com/Delgan/pytest-mypy-plugins/commit/27f9037897507026519c67fcf016758bd2b3d7a6 You can see the failing test here: https://github.com/Delgan/pytest-mypy-plugins/actions/runs/3166219555/jobs/5155788328When I manually run
mypy
on the code base no error is reported, so I'm a bit confused about why it's failing when tests are ran throughpytest
and this plugin.