-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Multiple reviews generated for multiline mypy error #38
Comments
Work in progress... |
Hi @abelcheung san,
Basically, mypy report only error and work fine it. If you have a problem that you haven't set up that way, |
Hi, I have added tsuyoshicho/test-action-mypy#2, but needs your approval to run CI. For the initial sample error above, |
FYI I will think about it. |
Ouch, you're right, it is not easy to handle mypy error in its current state. It is fine to put the idea on hold until mypy has done something to improve the situation. |
Thanks a lot. (report and PR) |
tsuyoshicho/action-test-repo#21 Reproduce PR create in my test repo. @abelcheung san |
@tsuyoshicho OK it's done. |
Note:
When mypy implements Pyright's format json, converting the json using already existing action-pyright's method will be solved this issue. |
@abelcheung san With no progress on JSON support, I've introduced a workaround. You can ignore the notice of note. Release 3.10.0 https://github.com/tsuyoshicho/action-mypy/releases/tag/v3.10.0 This issue remains open. |
@tsuyoshicho I have tried the |
JSON output has been merged Development of JSON output support will begin. |
mypy has 2 option
|
I'm using action with following step configuration:
As an example, following is a multi-line
mypy
error when overriding superclass property in an incompatible way:The error came from a single diff hunk, so I was expecting a single reviewdog action. Instead, it generated 7 independent reviews on the same pull request, each containing one line, and all of them are attached to the same diff.
The text was updated successfully, but these errors were encountered: