From 834ba1e351ceb7f77c466a65a1b15cd749d98a66 Mon Sep 17 00:00:00 2001 From: Agent Date: Wed, 1 Apr 2026 14:40:13 +0000 Subject: [PATCH] fix: remove duplicate code block in detect-duplicates.py --- .woodpecker/detect-duplicates.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.woodpecker/detect-duplicates.py b/.woodpecker/detect-duplicates.py index 4fad4f8..6fe7366 100644 --- a/.woodpecker/detect-duplicates.py +++ b/.woodpecker/detect-duplicates.py @@ -310,13 +310,6 @@ def main() -> int: ] # Also filter allowed hashes from pre_dups for reporting pre_dups = [g for g in cur_dups if g[0] in base_dup_hashes and g[0] not in ALLOWED_HASHES] - # Filter out allowed standard patterns that are intentionally repeated - new_dups = [ - g for g in cur_dups - if g[0] not in base_dup_hashes and g[0] not in ALLOWED_HASHES - ] - # Also filter allowed hashes from pre_dups for reporting - pre_dups = [g for g in cur_dups if g[0] in base_dup_hashes and g[0] not in ALLOWED_HASHES] # Report pre-existing as info if pre_ap or pre_dups: