Skip to content
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

Adds a system-provided checkmake hook for pre-commit #93

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

colindean
Copy link
Contributor

@colindean colindean commented Apr 3, 2023

Problems with pre-commit's invocation of go install had me wanting more options for how to run hooks in case the automated installation fails. Since checkmake is available in at least Homebrew, it'd be nice to have a hook that can use a checkmake executable already installed in the system PATH.

Checklist

Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

  • CI passes
  • Description of proposed change
  • Documentation (README, docs/, man pages) is updated
  • Existing issue is referenced if there is one
  • Unit tests for the proposed change

[Problems with pre-commit's invocation of `go install`][pc-gh2722] had me wanting more options for how to run hooks in case the automated installation fails. Since checkmake is available in at least Homebrew, it'd be nice to have a hook that can use a checkmake executable already installed in the system PATH.

[pc-gh2722]: pre-commit/pre-commit#2722
This could be risky but it's probably OK for how rare the repo is updated.
@mrtazz
Copy link
Owner

mrtazz commented Apr 11, 2023

thanks for taking the time to contribute!

@mrtazz mrtazz merged commit c865c5d into mrtazz:main Apr 11, 2023
@colindean colindean deleted the patch-1 branch April 11, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants