Closed bernhardkaindl closed 9 months ago
Example PR: #https://github.com/xenserver-next/xen-api/pull/6
In this PR, there are some comments but they are incomplete:
🚫 [mypy] reported by reviewdog 🐶 Function is
Also, the file from which I get errors has more errors that are not added as comments.
Workflow output: https://github.com/xenserver-next/xen-api/actions/runs/7688914348/job/20950684779?pr=6
I am still trying to diagnose it.
I also have scripts that parse the output of pytype, pylint and pyre and output GitHub annotation messages. Maybe one can be updated for mypy. It could help with converting the output into a format that reviewdog can digest better (also with respect to multiple line errors).
Hi @bernhardkaindl
Thank you
Wait a little longer
Hi @bernhardkaindl
https://github.com/xenserver-next/xen-api/actions/runs/7688914348/job/20950684779?pr=6 https://github.com/tsuyoshicho/action-mypy/issues/38 mypy may return multi-line results. Cannot be improved until a solution is created, such as being able to get results in JSON!
This can be mitigated somewhat with ignore_note
.
Your PR is helpful, I will examine it and merge it.
Hi @bernhardkaindl
I have released v4.0.1. Please try to understand and use the above support.
https://github.com/tsuyoshicho/action-mypy/releases/tag/v4.0.1
This issue is closed.
I run into the same issue as the 2nd issue reported in #111:
I enabled mypy --verbose and see that mypy is issuing two warnings for a file (it mentions two times that it has a warning about a place in the file), in the step "Running mypy with reviewdog 🐶 ...", but the action hides the actual errors and does not add a comment to the PR.