You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several CI systems will do nice things with error output if they are formatted in a particular way. For example, ruff supports --format=github to format messages in a way such that the GitHub UI will display the errors in context inside the diff: https://beta.ruff.rs/docs/editor-integrations/#github-actions.
Could mypy also support output formats that integrate into common CI systems as well?
Pitch
This would make PRs easier to review when there are type errors, because rather than needing to read the CI job logs, you could just go into the diff view and see the errors directly in context within the files.
I would be happy to work on this if someone could point me to where in the mypy code the errors get formatted. I've got no experience with the mypy codebase though, so I'm not quite ready to dive in and propose a PR on my own.
Activity
emmatyping commentedon Apr 1, 2023
I think this is similar to #10816, I'll close this in favor of that (I think that issue has become "support more output formats")
timj commentedon Sep 6, 2024
From what I can tell the issue referenced here has only tackled JSON format and is now closed without GitHub support. Can we reopen this?