-
Notifications
You must be signed in to change notification settings - Fork 141
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
Bump Checkstyle version to latest #767
Bump Checkstyle version to latest #767
Conversation
Signed-off-by: Chen Dai <daichen@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #767 +/- ##
=========================================
Coverage 94.85% 94.85%
Complexity 2910 2910
=========================================
Files 287 287
Lines 7831 7831
Branches 571 571
=========================================
Hits 7428 7428
Misses 349 349
Partials 54 54
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Chen Dai <daichen@amazon.com>
Are you planning to activate checkstyle for |
I think Checkstyle has been activated for all our modules? |
Maybe it is activated, but
All 959 errors are ignored/suppressed. |
|
Oh, I see. Just curious whether we need this in integration tests. |
Got it. I guess it has been disabled because there were too many IT code from legacy engine when we migrated. Probably we should have only disabled it for |
|
I guess the reason you didn't see error is the entire |
* Bump checkstyle version and fix violations Signed-off-by: Chen Dai <daichen@amazon.com> * Fix checkstyle violations in test code Signed-off-by: Chen Dai <daichen@amazon.com> Signed-off-by: Chen Dai <daichen@amazon.com> (cherry picked from commit 8103d9f)
* Bump checkstyle version and fix violations Signed-off-by: Chen Dai <daichen@amazon.com> * Fix checkstyle violations in test code Signed-off-by: Chen Dai <daichen@amazon.com> Signed-off-by: Chen Dai <daichen@amazon.com> (cherry picked from commit 8103d9f) Co-authored-by: Chen Dai <daichen@amazon.com>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.3 1.3
# Navigate to the new working tree
cd .worktrees/backport-1.3
# Create a new branch
git switch --create backport/backport-767-to-1.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8103d9f4f93305f741ba22b7b87dafc4920280f2
# Push it to GitHub
git push --set-upstream origin backport/backport-767-to-1.3
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.3 Then, create a pull request where the |
Signed-off-by: Chen Dai daichen@amazon.com
Description
subprojects
toallprojects
to enforce root project using same version as subproject (specified bytoolVersion
). Otherwise, the default Checkstyle version (8.37) defined by Gradle is in use.Issues Resolved
#431
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.