-
Notifications
You must be signed in to change notification settings - Fork 146
Fix linter pre-submit #333
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
Fix linter pre-submit #333
Conversation
…ally-fail' into 283-linter-pre-submits-dont-actually-fail
@laurentsimon Can you give this a look when you get a chance? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks. Mabye we should follow-up on what contributors need to install on their machine do run the checks locally before sending a PR?
I added some docs to the README |
Fixes #283
Needs:
This fixes linter pre-submit issues and ensures that linters cause pre-submits to fail when there are errors.
reviewdog was abandoned for now because it seems to have issues where it returns a 0 error code even if the linter produces errors. It also uses of the Github API in a way that requires more permissions than we would like to give to PR code.
Instead, this PR runs the linters manually and has them output GitHub Actions commands to output check errors.
Pros:
Cons: