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

Make git.pre-commit only check format for file have been added #638

Open
Ao-senXiong opened this issue Nov 27, 2023 · 1 comment
Open

Make git.pre-commit only check format for file have been added #638

Ao-senXiong opened this issue Nov 27, 2023 · 1 comment
Assignees

Comments

@Ao-senXiong
Copy link
Member

Currently, the git.pre-commit https://github.com/eisop/checker-framework/blob/a52f9666f5d7d9545f221c8032086f1b12f8d034/checker/bin-devel/git.pre-commit#L13C26-L13C52 check for all files' format.

Could it be possible for it to only check files to be commited this time?

@wmdietl
Copy link
Member

wmdietl commented Nov 27, 2023

What would be the benefit of this change?
I don't know how easy it would be to get the set of changed files to Spotless.

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

No branches or pull requests

2 participants