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

Fix google-java-format invocation #3849

Merged

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Feb 27, 2023

Identify the Bug or Feature request

Fixes #3848

Description of the Change

The --replace flags has been removed so that there is no longer a conflict with --dry-run.

I would have liked to also add --set-exit-if-changed so that the build would fail on formatting violations, but the google-java-format requirements differ from the spotless requirements, so we can't have both at the moment.

Possible Drawbacks

Shouldn't be any.

Documentation Notes

N/A

Release Notes

N/A


This change is Reviewable

@kwvanderlinde kwvanderlinde changed the title Bugfix/3848 google format invocation Fix google-java-format invocation Feb 27, 2023
@kwvanderlinde
Copy link
Collaborator Author

Sorry for being so loose here. I meant to make a PR against my own repo. But now that it's made, I'll just fix things up and then bring this PR up to standards.

@kwvanderlinde kwvanderlinde force-pushed the bugfix/3848-google-format-invocation branch from e3ec39a to 67c43ff Compare February 27, 2023 02:13
@kwvanderlinde kwvanderlinde force-pushed the bugfix/3848-google-format-invocation branch from 67c43ff to d0aad89 Compare February 27, 2023 02:22
@kwvanderlinde
Copy link
Collaborator Author

This is ready for review now.

Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kwvanderlinde)

@Phergus Phergus merged commit 19343b9 into RPTools:develop Feb 27, 2023
@kwvanderlinde kwvanderlinde deleted the bugfix/3848-google-format-invocation branch March 3, 2023 06:20
@cwisniew cwisniew added the code-maintenance Adding/editing javadocs, unit tests, formatting. label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-configuration code-maintenance Adding/editing javadocs, unit tests, formatting.
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

[Bug]: PR verification fails due to incorrect flags.
3 participants