10000 Pytest-mypy treats mypy annotation-unchecked warning as error · Issue #145 · realpython/pytest-mypy · GitHub
[go: up one dir, main page]

Skip to content

Pytest-mypy treats mypy annotation-unchecked warning as error #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nidico opened this issue Nov 11, 2022 · 1 comment · Fixed by #146
Closed

Pytest-mypy treats mypy annotation-unchecked warning as error #145

nidico opened this issue Nov 11, 2022 · 1 comment · Fixed by #146
Assignees

Comments

@nidico
Copy link
nidico commented Nov 11, 2022

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.

@dmtucker
Copy link
Collaborator

Thanks for the report 🙂 I am able to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 49B4 /div>
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0