-
Notifications
You must be signed in to change notification settings - Fork 57
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
Drops Java <16 constraint from pretty_format_kotlin #123
Drops Java <16 constraint from pretty_format_kotlin #123
Conversation
Codecov Report
@@ Coverage Diff @@
## master #123 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 305 303 -2
=========================================
- Hits 305 303 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Please remove test annotations such that we will know if all test passes.
Once test are green I'll be happy to merge and release this.
@harti2006 thanks for preparing the PR
Please rebase the changes on top of 07944ad as it fixes some possible pre-commit failures.
b5b3b38
to
52563e6
Compare
@@ -17,7 +17,7 @@ jobs: | |||
os: [macos-latest, ubuntu-latest, windows-latest] | |||
|
|||
golang_version: [1.19.3] | |||
java_version: ['15', '16', '17'] | |||
java_version: ['15', '16', '17', '18', '19'] |
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.
Since I removed the test annotations, I'd also like to show that the tool works with even more recent Java versions than 17
Test fails with:
Sounds related to:
|
It's probably safe to add |
Head branch was pushed to by a user without write access
52563e6
to
2afa43c
Compare
Tried it like this: language-formatters-pre-commit-hooks/language_formatters_pre_commit_hooks/pretty_format_kotlin.py Lines 62 to 70 in 2afa43c
|
Head branch was pushed to by a user without write access
2afa43c
to
cf95f11
Compare
The first attempt did not work. The args were parsed by the Ktlint application, rather than the "java" command itself. Trying to move them earlier |
Thanks for the effort on making new JDK available to the tool. If tests are green this will be merged and within EOD I will release the new version of the pre-commit hooks. |
Fixes #122