Skip to content
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

pytest-mypy < 0.4.0 emits false positive with new mypys #53

Closed
tucked opened this issue Sep 26, 2019 · 0 comments
Closed

pytest-mypy < 0.4.0 emits false positive with new mypys #53

tucked opened this issue Sep 26, 2019 · 0 comments
Labels

Comments

@tucked
Copy link

tucked commented Sep 26, 2019

This is likely a wontfix, but old versions of the plugin call any output an error. Newer versions of mypy (0.730 at least) produce output on success which causes a false positive:

=========================== FAILURES ============================
__________________________ mypy cli.py __________________________
Success: no issues found in 1 source file

The solution is to upgrade to pytest-mypy >= 0.4.0 or downgrade mypy.

garethr added a commit to garethr/pysnyk that referenced this issue Oct 23, 2019
Without the bump to pytest-mypy the tests can trigger realpython/pytest-mypy#53
@dmtucker dmtucker pinned this issue Oct 26, 2019
lili2311 pushed a commit to snyk-labs/pysnyk that referenced this issue Oct 10, 2023
Without the bump to pytest-mypy the tests can trigger realpython/pytest-mypy#53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants