Consider producing SARIF output? #5995
FollowTheProcess
started this conversation in
Ideas
Replies: 1 comment
-
We have no plans to add such capabilities. However, pyright does output its diagnostic results in JSON output, and it would be easy to write a separate tool that transforms this output into other formats as you desire. You're welcome to develop and publish such a tool. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋🏻
Just wondering if there are any plans or possibilities for pyright to output a sarif file? I've been using a few tools that do output sarifs and I have to say the consistency and being able to aggregate multiple tools outputs into consistent reports etc. is incredibly useful.
I've been working on a GitHub action to take sarif files and turn them into GitHub Annotations so warnings from various static analysis tools can be displayed in a more native, user friendly UI on a PR. It would be great if pyright could do this too!
I know the option is there to output JSON and the structure of that JSON is very nice and could easily be parsed into GitHub Annotations, but would be great if more tools could standardise on sarif, maybe pyright leading by example!
This is definitely a feature I'd love to see on the roadmap, curious to hear others thoughts too 🙂
Beta Was this translation helpful? Give feedback.
All reactions