Files
2026Technology-Competition/pyproject.toml
T
lhl a1fefd43eb docs(deliverables): 参赛成果物补齐(README 五项 + 范式图/架构图 + coverage 报告)
按《参赛成果物提交规范·赛道一》§8:
- README:新增项目性质:新规声明、项目概述、整体功能说明、效果总结
  (431 测试/99.15% 覆盖/双语试运行/影响调查基线)、团队分工、规模与难度自评
- design.md:开发范式流程图(mermaid,6 步与 AI 日志步骤列一致)+ §2.1
  Agent 架构图(感知-规划-行动-记忆映射)
- _AI_USAGE_LOG.md:回填「待补充」→架构设计、「整体迭代」→反馈迭代
- tests/coverage/ 覆盖率 HTML 报告(99.15%)+ tests/test-execution-log.txt 执行日志
- docs/参赛成果物提交规范-赛道一.md → docs/submission-spec-track1.md(ASCII 化)
- pyproject: pytest norecursedirs 排除 test-execution-log.txt
全量 pytest 431 passed / 99.15%
2026-08-26 14:24:02 +08:00

44 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[project]
name = "genesis"
version = "0.1.0"
description = "概要设计书自动生成 Agent"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.13",
"pydantic-settings>=2.15",
"pyyaml>=6.0",
"openpyxl>=3.1",
"python-docx>=1.0",
"httpx>=0.28",
"jinja2>=3.1",
"jsonschema>=4.23",
]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-cov>=7.0"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=genesis --cov-report=term-missing"
norecursedirs = ["*.egg-info", "coverage", "test-execution-log.txt"]
[tool.coverage.run]
# 仅统计 src/genesis 业务代码(不含 tests 自身)
source = ["genesis"]
# 测量分支覆盖
branch = true
[tool.coverage.report]
# 覆盖率门槛:低于该值 pytest 失败(红线,防止回归)
fail_under = 99
# 跳过 __init__.py 等空文件干扰
skip_empty = true
# 按语句总数降序展示
sort = "miss"