build(coverage): 调整coverage配置,新增cli目录到忽略白名单并提高达标阈值至95%

修改了pyproject.toml中的coverage配置:将src/pyflowx/cli/*加入omit排除列表,同时将测试覆盖率达标阈值从80提升至95
This commit is contained in:
2026-06-27 15:57:00 +08:00
parent a7b7a82dff
commit b954fb1622
2 changed files with 482 additions and 2110 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ dev = ["pyflowx[dev,office,llm]"]
[tool.coverage.run]
branch = true
concurrency = ["thread"]
omit = ["src/pyflowx/examples/*", "tests/*"]
omit = ["src/pyflowx/cli/*", "src/pyflowx/examples/*", "tests/*"]
source = ["pyflowx"]
[tool.coverage.report]
@@ -109,7 +109,7 @@ exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
]
fail_under = 80
fail_under = 95
show_missing = true
[tool.pytest.ini_options]
Generated
+480 -2108
View File
File diff suppressed because it is too large Load Diff