feat(T-001): 初始化 Python 项目骨架
- 建立 src/(main.py 最小可运行入口)、tests/(unittest 冒烟测试)、requirements.txt。 - 骨架阶段测试用标准库 unittest,零第三方依赖;pytest 留待后续按需引入。 - 文档占位符验证命令替换为真实命令(pytest -> unittest discover)。 - 同步 tasks.md(T-001 DONE)、progress.md、current-state.md。 验证:compileall OK;unittest 2 passed;python src/main.py exit=0。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
541dfab967
commit
2863bf2750
@@ -0,0 +1,12 @@
|
||||
# 运行时依赖清单
|
||||
#
|
||||
# 依赖纪律:新增前先说明用途、替代方案与维护成本,并同步 docs/03-tech-stack.md。
|
||||
# 依赖随任务按需引入,不为“将来可能用到”提前添加:
|
||||
# - T-101 起:uiautomator2 # Android 真机控制(ADB + uiautomator2)
|
||||
# - T-201 起:openpyxl # 固定表头 Excel 读取与结果回写
|
||||
# - T-202 起:PySide6 # Windows 桌面 GUI
|
||||
# - T-402 起:pyinstaller # 打包 Windows 可执行程序(开发期依赖)
|
||||
#
|
||||
# 当前 T-001 骨架阶段无第三方运行时依赖。
|
||||
# 测试使用 Python 标准库 unittest,无需额外安装;
|
||||
# 后续如需参数化/夹具等能力,再按依赖纪律评估引入 pytest。
|
||||
Reference in New Issue
Block a user