docs: 为全部代码补充中文注释并加入 AGENTS 注释规范

This commit is contained in:
cat-shark
2026-08-13 22:09:55 +08:00
parent e974939df8
commit 6355579aa8
5 changed files with 41 additions and 1 deletions
+5
View File
@@ -1,3 +1,4 @@
# WOV Echo 节点配置:使用 uv 管理环境与依赖。
[project]
name = "wov-node-echo"
version = "0.1.0"
@@ -5,16 +6,20 @@ description = "WOV example echo node"
requires-python = ">=3.11"
dependencies = ["wov-sdk"]
# 本地路径依赖 wov-sdk,不发布到公共包索引。
[tool.uv.sources]
wov-sdk = { path = "../wov-sdk" }
# 开发依赖:pytest 与覆盖率工具。
[dependency-groups]
dev = ["pytest", "pytest-cov"]
# pytest 配置:强制 100% 行覆盖率,并允许直接 import 包源码。
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--cov=wov_node_echo --cov-report=term-missing --cov-fail-under=100"
# 仅打包节点包本身。
[tool.setuptools]
packages = ["wov_node_echo"]