Skip to content

Commit 17b431f

Browse files
committed
feat: exclude __init__.py files from coverage gating
1 parent ae49d34 commit 17b431f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sonar-project.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ sonar.typescript.lcov.reportPaths=src/ui/web/coverage/lcov.info
2222
# ------------------------------------------------------
2323
# Coverage Exclusions (files excluded from coverage gating)
2424
# ------------------------------------------------------
25-
# Exclude UI and scripts from coverage requirements
26-
sonar.coverage.exclusions=src/ui/web/**,scripts/**
25+
# Exclude UI, scripts, and __init__.py files from coverage requirements
26+
# __init__.py files are typically small and can drag coverage % down
27+
sonar.coverage.exclusions=src/ui/web/**,scripts/**,**/__init__.py
2728

2829
# ------------------------------------------------------
2930
# Exclusions (files that don't need coverage)

0 commit comments

Comments
 (0)