Skip to content

Commit

Permalink
ANDROID-15242 fix detekt (#390)
Browse files Browse the repository at this point in the history
* ANDROID-15242 detekt fixed

* ANDROID-15242 LongMethod issue suppressed

* ANDROID-15242 possible fix

* Revert "ANDROID-15242 possible fix"

This reverts commit 7cf1381.

* ANDROID-15242 fix to exclude build

* ANDROID-15242 recovering suppress
  • Loading branch information
jmanriquehiberus authored Sep 25, 2024
1 parent 7918822 commit 54c84c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-tools/detekt.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ detekt {
buildUponDefaultConfig = true
config.from(files("$projectDir/build-tools/detekt/detekt.yml"))
basePath = files("$projectDir")
source.from(fileTree(rootProject.projectDir) {
exclude("**/.gradle/")
exclude("**/build/")
exclude("**/tmp/**")
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class ProgressButton : FrameLayout {
}

@SuppressLint("ClickableViewAccessibility")
@Suppress("LongMethod")
private fun init(attrs: AttributeSet? = null, defStyleAttr: Int = 0) {
if (attrs != null) {
val theme = context.theme
Expand Down

0 comments on commit 54c84c7

Please sign in to comment.