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

Support copyright check with pre-commit #954

Merged

Conversation

tomadamatkinson
Copy link
Collaborator

@tomadamatkinson tomadamatkinson commented Feb 27, 2024

Description

Adds support to automatically update copyrights using the command ./scripts/copyright.py main --fix. The hope is that this will help reduce the time contributors spend fixing copyrights manually or updating a PR after CI failures

I tested by altering a single line in buffer_pool.cpp. Here we can see that the pre-commit failed. The copyright was correctly updated for the file and placed in unstaged changes (as is expected with pre-commit)

image

@tomadamatkinson tomadamatkinson requested a review from a team February 28, 2024 11:23
@SaschaWillems SaschaWillems self-requested a review February 28, 2024 16:50
@marty-johnson59 marty-johnson59 merged commit f297e6a into KhronosGroup:main Mar 11, 2024
25 checks passed
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.

5 participants