|
@@ -1,4 +1,7 @@
|
|
|
[pytest]
|
|
[pytest]
|
|
|
testpaths = .claude/scripts/data_modules/tests
|
|
testpaths = .claude/scripts/data_modules/tests
|
|
|
pythonpath = .claude/scripts
|
|
pythonpath = .claude/scripts
|
|
|
-addopts = -q --cov=.claude/scripts/data_modules --cov-report=term-missing --cov-fail-under=90
|
|
|
|
|
|
|
+# 说明:
|
|
|
|
|
+# - 不在 CLI 里写相对路径,避免从不同工作目录运行时出现 coverage=0 的误报。
|
|
|
|
|
+# - 覆盖率范围由 .coveragerc 的 [run] source 控制。
|
|
|
|
|
+addopts = -q --cov --cov-report=term-missing --cov-fail-under=90
|