在前后端开发联调前 的提交20260223

This commit is contained in:
Neo
2026-02-23 23:02:20 +08:00
parent 254ccb1e77
commit fafc95e64c
1142 changed files with 10366960 additions and 36957 deletions

View File

@@ -845,7 +845,10 @@ def main():
md_content = generate_report(report, coupling)
# 确定输出路径
reports_dir = root / "docs" / "reports"
_report_root = os.environ.get("ETL_REPORT_ROOT")
if not _report_root:
raise KeyError("环境变量 ETL_REPORT_ROOT 未定义。请在根 .env 中配置。")
reports_dir = Path(_report_root)
reports_dir.mkdir(parents=True, exist_ok=True)
if args.output: