Skip to content

Conversation

@kiryl-filatau
Copy link
Collaborator

Add pre-commit hook

@hubatish
Copy link
Collaborator

hubatish commented Jan 7, 2026

Thanks for adding this! Hopefully it will work with our push/pull automation to copy commits to/from our internal repo. But in general this looks very useful for external contributors!

copybara-service bot pushed a commit that referenced this pull request Jan 8, 2026
Copy of #6336 PR by kiryl-filatau

There are also existing hooks in https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/tree/master/hooks

..but these look pretty ancient (last change 8 years ago). Will ignore for now & can potentially incorporate some of the useful features (like only running linter on modified files) in the future.

PiperOrigin-RevId: 853328012
copybara-service bot pushed a commit that referenced this pull request Jan 8, 2026
Copy of #6336 PR by kiryl-filatau

There are also existing hooks in https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/tree/master/hooks

..but these look pretty ancient (last change 8 years ago). Will ignore for now & can potentially incorporate some of the useful features (like only running linter on modified files) in the future.

PiperOrigin-RevId: 853836176
@hubatish
Copy link
Collaborator

hubatish commented Jan 9, 2026

I committed #6342 as y'all didn't have permissions to create a new file in this folder.

@hubatish
Copy link
Collaborator

hubatish commented Jan 9, 2026

And for that reason I'm closing.

@hubatish hubatish closed this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants