From b4c3de37280255a1527f1db61b8f3f84101e45f9 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 28 May 2026 20:29:07 -0800 Subject: [PATCH] Clean up Codacy Lizard config (drop composeUi exclusion, fix engine casing) (#515) --- .codacy.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.codacy.yaml b/.codacy.yaml index a50ff1575..4fdb2f9c2 100644 --- a/.codacy.yaml +++ b/.codacy.yaml @@ -35,10 +35,11 @@ exclude_paths: engines: # Lizard's language-agnostic complexity metrics (NLOC, CCN, parameter count) - # don't map well to Jetpack Compose composables — long declarative UI - # functions and many composable parameters are idiomatic. Disable Lizard - # for composeUi entirely; detekt still enforces complexity on this code. - Lizard: + # don't map well to Jetpack Compose widgets — long declarative UI functions + # and many composable parameters are idiomatic. detekt still enforces + # complexity on this code. + # NOTE: engine names must be lowercase (`lizard`, not `Lizard`) — an + # unrecognized engine key makes Codacy mis-handle the whole engines block. + lizard: exclude_paths: - - 'composeUi/**' - 'android/src/main/kotlin/**/widgets/**'