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

Option to suppress 'mypy-status' error #176

Closed
jaraco opened this issue Aug 25, 2024 · 1 comment · Fixed by #179
Closed

Option to suppress 'mypy-status' error #176

jaraco opened this issue Aug 25, 2024 · 1 comment · Fixed by #179

Comments

@jaraco
Copy link

jaraco commented Aug 25, 2024

When one of the mypy checks fail, it also reports a failure in the 'mypy-status' at the beginning of the test run. As a result, running with -x (fail fast) will always emit an inactionable error. Personally, I just find that error useless noise and I'd like to suppress it. Could you add an option to suppress this error and only report the per-file errors?

@jaraco jaraco changed the title Option to suppress 'mypy-status' error. Option to suppress 'mypy-status' error Aug 25, 2024
@dmtucker
Copy link
Collaborator

dmtucker commented Aug 29, 2024

I didn't connect the two at first, but this sounds essentially the same as #120...
#179 delivers a suppression mechanism, --mypy-no-status-check, as-stated (which hadn't come up in that thread, btw),
but I'd like to improve the default behavior with -x at some point without having to suppress the status check too.
(FWIW, it's purpose is to indicate that mypy failed, which is the only indication anything went wrong when mypy fails on one or more files that weren't collected by pytest.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants