-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Run Spotless and exclude CheckStyle for server module #1380
Run Spotless and exclude CheckStyle for server module #1380
Conversation
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Can one of the admins verify this patch? |
✅ Gradle Wrapper Validation success 245e436 |
✅ DCO Check Passed 245e436 |
✅ Gradle Precommit success 245e436 |
<!-- Intentionally doesn't have a package declaration to test logging | ||
configuration of classes that aren't in packages. --> | ||
<suppress files="test[/\\]framework[/\\]src[/\\]test[/\\]java[/\\]Dummy.java" checks="PackageDeclaration" /> | ||
|
||
<!-- Intentionally has long example curl commands to coincide with sibling Painless tests. --> | ||
<suppress files="modules[/\\]lang-painless[/\\]src[/\\]test[/\\]java[/\\]org[/\\]opensearch[/\\]painless[/\\]ContextExampleTests.java" checks="LineLength" /> | ||
|
||
<!-- Exclude server to run checkstyle --> | ||
<suppress files="server" checks="." /> |
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.
Excluded server module to run CheckStyle
@@ -121,7 +121,6 @@ def projectPathsToExclude = [ | |||
':plugins:transport-nio', | |||
':qa:die-with-dignity', | |||
':rest-api-spec', | |||
':server', |
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.
Removed server module from excluded path to run Spotless
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.
Nice. this definitely looks better. Tagging this comment for reviewer context.
Can we start gradle check for this PR? |
start gradle check |
We should backport this to 1.x or we risk having endless conflicts every time we backport anything after this change to 1.x. |
…ct#1380 Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi owaiskazi19@gmail.com
Description
Applied Spotless to server module and excluded it from CheckStyle.
Issues Resolved
Part of #1362 and #974
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.