-
Notifications
You must be signed in to change notification settings - Fork 59
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
versatile-data-kit: set automatic java formatter #757
Conversation
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, seems the hook will autoupdate to use latest google java formatter, unless pinned to a specific one
d2d3c05
to
34ae85f
Compare
This is on hold for now because I have not figure out how to apply the pre-commit hook without requiring java to be installed . Java is only required for control service. There are people that have contributed only to the SDK. We should not require them to have java. |
040fc83
to
d002063
Compare
We have settled on using Google Java coding style . This is adding github action to automatically format the code. I nitially wanted to use pre-commit hook (https://github.com/macisamuele/language-formatters-pre-commit-hooks) but it requires to have installed locally java and I could not figuore out how to make it optional for local runs. Signed-off-by: Antoni Ivanov <[email protected]>
327e8f5
to
ad9b8bf
Compare
We have settled on using Google Java coding style . This is adding
github action to automatically format the code.
I nitially wanted to use pre-commit hook
(https://github.com/macisamuele/language-formatters-pre-commit-hooks)
but it requires to have installed locally java and I could not figuore
out how to make it optional for local runs.
Signed-off-by: Antoni Ivanov [email protected]