Skip to content

Commit 746156b

Browse files
Update codecov.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 647b5ac commit 746156b

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

backend/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,9 @@ exclude_lines = [
253253
"if __name__ == .__main__.:",
254254
"if TYPE_CHECKING:",
255255
"@abstractmethod",
256+
"^from .+ import .+$",
257+
"^import .+$",
256258
]
257-
# fail_under removed - coverage thresholds managed by codecov.yml
258259

259260
[tool.coverage.xml]
260261
output = "coverage.xml"

codecov.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,3 @@ ignore:
5757
- "frontend/src/**/*.spec.js"
5858
- "frontend/src/setupTests.js"
5959
- "frontend/src/index.js"
60-
61-
# Exclude patterns for lines with low testing value
62-
# Note: These patterns work with coverage.py's exclude_lines configuration
63-
# and should match patterns in pyproject.toml [tool.coverage.report]
64-
parsers:
65-
python:
66-
# Skip import lines - low value to cover
67-
skip:
68-
- "^from .+ import .+$"
69-
- "^import .+$"
70-
# Skip type checking blocks
71-
skip_branches:
72-
- "if TYPE_CHECKING:"

0 commit comments

Comments
 (0)