26 lines
657 B
TOML
26 lines
657 B
TOML
# WOV LLM 节点配置:使用 uv 管理环境与依赖。
|
|
[project]
|
|
name = "wov-node-llm"
|
|
version = "0.1.0"
|
|
description = "WOV LLM translation 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% 行覆盖率。
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
addopts = "--cov=wov_node_llm --cov-report=term-missing --cov-fail-under=100"
|
|
|
|
# 仅打包节点包本身。
|
|
[tool.setuptools]
|
|
packages = ["wov_node_llm"]
|