Skip to content

[Backport 2.x] Enable Detekt #523

Closed
opensearch-trigger-bot[bot] wants to merge 1 commit into
2.xfrom
backport/backport-522-to-2.x
Closed

[Backport 2.x] Enable Detekt #523
opensearch-trigger-bot[bot] wants to merge 1 commit into
2.xfrom
backport/backport-522-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 5e3047d from #522

Signed-off-by: Rupal Mahajan <maharup@amazon.com>
(cherry picked from commit 5e3047d)
@opensearch-trigger-bot opensearch-trigger-bot Bot requested a review from a team as a code owner October 28, 2022 20:53
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 28, 2022

Codecov Report

Merging #523 (ec44465) into 2.x (c45371f) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                2.x     #523      +/-   ##
============================================
- Coverage     74.32%   74.27%   -0.06%     
  Complexity      383      383              
============================================
  Files            94       94              
  Lines          4047     4050       +3     
  Branches        649      649              
============================================
  Hits           3008     3008              
- Misses          905      908       +3     
  Partials        134      134              
Flag Coverage Δ
dashboards-reports 76.52% <ø> (ø)
reports-scheduler 72.18% <0.00%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...h/reportsscheduler/index/ReportDefinitionsIndex.kt 62.10% <0.00%> (-1.34%) ⬇️
...rch/reportsscheduler/index/ReportInstancesIndex.kt 52.42% <0.00%> (-1.04%) ⬇️
...nsearch/reportsscheduler/model/ReportDefinition.kt 68.18% <ø> (+0.34%) ⬆️
...search/reportsscheduler/security/SecurityAccess.kt 0.00% <0.00%> (ø)
...search/reportsscheduler/settings/PluginSettings.kt 78.68% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

classpath "${opensearch_group}.gradle:build-tools:${opensearch_version}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
classpath "org.jetbrains.kotlin:kotlin-allopen:${kotlin_version}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0-RC2"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add a release candidate library here? @rupal-bq @joshuali925

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry missed this earlier in the original PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, we can use Detekt v1.21.0 and force use snakeyaml 1.32.

This was referenced Oct 31, 2022
@rupal-bq rupal-bq closed this Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants