chore: Set the local-ci script to check for specific version of KTLint#2526
Merged
Conversation
0xnm
approved these changes
Mar 6, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2526 +/- ##
===========================================
+ Coverage 70.09% 70.12% +0.03%
===========================================
Files 796 796
Lines 29957 29959 +2
Branches 5012 5009 -3
===========================================
+ Hits 20997 21006 +9
+ Misses 7569 7563 -6
+ Partials 1391 1390 -1 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Makes
./local-ci.sh --setupcheck for a specific version of KTLint instead of just outputting your current version. Also ask if you want to upgrade detekt after printing the current version.Motivation
Older / incorrect versions of KTLint will clash with what's on CI, giving fewer or more errors than what CI.
Review checklist (to be filled by reviewers)