Skip to content

Commit b23071f

Browse files
committed
ci(coverage): raise threshold to 75% and refine omit patterns
- Omit routes.py and __init__.py (HTTP layer, tested by integration tests) - Omit preparator_v4.py and llm_provider.py (external dependencies) - Unit test coverage now measures business logic only: 85%+ - Raise fail_under from 60% to 75%
1 parent e31d676 commit b23071f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,15 @@ select = ["E", "F", "W", "I"]
5555

5656
[tool.coverage.run]
5757
source = ["services", "preparator", "ai_agent"]
58-
omit = ["tests/*", "*/run.py"]
58+
omit = [
59+
"tests/*",
60+
"*/run.py",
61+
"services/*/app/routes.py",
62+
"services/*/app/__init__.py",
63+
"preparator/preparator_v4.py",
64+
"ai_agent/llm_provider.py",
65+
]
5966

6067
[tool.coverage.report]
6168
show_missing = true
62-
fail_under = 60
69+
fail_under = 75

0 commit comments

Comments
 (0)