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

introduce Checkstyle, start enforcing whitespace related rules (FINERACT-821) #689

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

vorburger
Copy link
Member

Once #688 which bulk cleans up all existing whitespace issues,

after a rebase and verification (or more PRs) that there are no other new issues,

this PR contributes an initial Checkstyle configuration which will fails builds/PR for new whitespace issues.

The initial Checkstyle XML configuration contributed here has many more rules, but all non whitespace related ones are still commented out for now; the idea being that we (myself or, hopefully, other contributors!) then gradually enable more of those rules, after fixing existing violations.

See https://issues.apache.org/jira/browse/FINERACT-821 for full background.

This is, intentionally, for whitespace related rules, only.

The idea is to now gradually extend it.
@vorburger vorburger marked this pull request as ready for review January 19, 2020 19:00
@vorburger vorburger requested a review from awasum January 19, 2020 19:00
@vorburger
Copy link
Member Author

@awasum FYI with me just having merged #688, this one is now ready! Would you do the honours of reviewing it (also to get familiar with it, in case you would consider make some further contributions based on this?), and merging ASAP?

PS: This build will most likely fail, because it's Sunday, due to FINERACT-820 (what a PITA, is anyone ever going to fix that?). Perhaps you'd like to Close and Re-Open it tomorrow, before merging it to convince yourself that the Checkstyle really fully passes? (Which it does, I've of course tested this locally.)

@vorburger
Copy link
Member Author

@awasum will you have a moment to review and (hopefully) merge this some time in the next few days?

@awasum
Copy link
Contributor

awasum commented Jan 22, 2020

@awasum will you have a moment to review and (hopefully) merge this some time in the next few days?

@vorburger Sorry, I have been so busy at work. Please, I will review this latest this weekend. Thanks for the opportunity and the reminder.

Copy link
Contributor

@awasum awasum left a comment

Choose a reason for hiding this comment

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

Actually, this is simple to review and merge.. doing it ASAP.

@awasum awasum merged commit 3790fdb into apache:develop Jan 22, 2020
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.

2 participants