-
Notifications
You must be signed in to change notification settings - Fork 482
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
ORC-1487: Enable checkstyle
on src/test
with checkstyle-suppressions.xml
#1591
Conversation
cc @mystic-lama , @williamhyun |
@dongjoon-hyun Awesome. I looked at adding this but was not sure if it was good idea. Thank you so much for this. Do we want to make Line length as change as part of this PR? |
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.
+1 LGTM
Thank you, @mystic-lama . During reviewing your on-going PR, I evaluated our remaining work in the existing code and decided to ignore |
Thanks a ton @dongjoon-hyun |
Yes, we can handle them gradually in 2.1.0 or later. |
…ions.xml` ### What changes were proposed in this pull request? This PR aims to enable `checkstyle` on `src/test` directories to validate the recent PRs like #1590 . ### Why are the changes needed? To help the recent community work, we permanently declare the following rules as exception in test source code. ```xml <suppress checks="LineLength" files="src/test/*"/> <suppress checks="NewlineAtEndOfFile" files="src/test/*"/> <suppress checks="UnusedImports" files="src/test/*"/> <suppress checks="AvoidStarImport" files="src/test/*"/> <suppress checks="CustomImportOrder" files="src/test/*"/> ``` The other suppressed rules will be removed after we finish the test code clean-ups. ### How was this patch tested? Pass the CIs. Closes #1591 from dongjoon-hyun/ORC-1487. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit d3d3b60) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
I backported this test infra PR to branch-1.9 and adjusted the JIRA issue versions. |
…ions.xml` ### What changes were proposed in this pull request? This PR aims to enable `checkstyle` on `src/test` directories to validate the recent PRs like apache#1590 . ### Why are the changes needed? To help the recent community work, we permanently declare the following rules as exception in test source code. ```xml <suppress checks="LineLength" files="src/test/*"/> <suppress checks="NewlineAtEndOfFile" files="src/test/*"/> <suppress checks="UnusedImports" files="src/test/*"/> <suppress checks="AvoidStarImport" files="src/test/*"/> <suppress checks="CustomImportOrder" files="src/test/*"/> ``` The other suppressed rules will be removed after we finish the test code clean-ups. ### How was this patch tested? Pass the CIs. Closes apache#1591 from dongjoon-hyun/ORC-1487. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
This PR aims to enable
checkstyle
onsrc/test
directories to validate the recent PRs like #1590 .Why are the changes needed?
To help the recent community work, we permanently declare the following rules as exception in test source code.
The other suppressed rules will be removed after we finish the test code clean-ups.
How was this patch tested?
Pass the CIs.