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

[SEDONA-102] Use spotless as Java and Scala code formatter #1428

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented May 24, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Use spotless to format Java and Scala code. Format is checked when running mvn compile, code can be automatically formatted by running mvn spotless:apply command.

How was this patch tested?

Passing existing tests.

Did this PR include necessary documentation updates?

  • Yes, I have added the mvn spotless:apply step to the contribution rule.

@Kontinuation Kontinuation changed the title [Draft] Use spotless as Java and Scala code formatter [SEDONA-102] Use spotless as Java and Scala code formatter May 24, 2024
@Kontinuation Kontinuation marked this pull request as ready for review May 24, 2024 15:30
@jiayuasu
Copy link
Member

Let's put a hold on this. A big batch of ST functions will be cherry picked from Wherobots to Apache Sedona next week 😁

@Kontinuation
Copy link
Member Author

Let's put a hold on this. A big batch of ST functions will be cherry picked from Wherobots to Apache Sedona next week 😁

Have we finished cherry-picking ST functions? Is it OK to enable spotless for now?

@jiayuasu
Copy link
Member

jiayuasu commented Jun 8, 2024

Yes, it's all done. Let's enable Spotless @Kontinuation

@jiayuasu jiayuasu merged commit b69bc21 into apache:master Jun 12, 2024
50 checks passed
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.

2 participants