-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Fall 2021] Step 3: Add support for --output=sarif to pyre #50
Comments
I got this :) |
Still working out Github Marketplace set up internally for this. We should be able to land @abishekvashok's PR after that |
@0xedward I am sorry, but I saw the other issue now and was wondering as to why we need a repo for this? I am asking cause I believe we need a repo for the pysa action but are we creating an action for pyre as well? (In addition to pysa?) I guess this issue was intended for pyre so that we could have sarif output natively rather than use a script for the GitHub actions in the pyre check repository. |
@abishekvashok Oh, sorry, just saw this now!
Yep, that's the plan! :)
Ah, that's right! I commented about the Github action for Pyre here, since that was the original goal to add I'll check to see what is going on with the PR and if there's anything blocking it |
Hey @0xedward it's okay - I figured it out from yesterday's 1:1, it's an old comment. |
facebook#427 added support for surfacing type errors inline on github through a script that takes the output of pyre --output=json and converts it into SARIF (https://github.com/microsoft/sarif-tutorials), the file format GitHub understands. Ideally there should be an easier way for projects to set up the integration by just running pyre --output=sarif. This task is about adding that support to pyre.
References:
GitHub CI setup and script generating SARIF format: facebook#427
Pyre printing logic:
https://github.com/MLH-Fellowship/pyre-check/blob/master/client/error.py#L244
The text was updated successfully, but these errors were encountered: