Files
wov-api/pyproject.toml
T

28 lines
736 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WOV API 项目配置:使用 uv 管理环境与依赖。
[project]
name = "wov-api"
version = "0.1.0"
description = "WOV platform API"
requires-python = ">=3.11"
# fastapi/uvicorn 提供 Web 服务,python-multipart 支持文件上传。
dependencies = [
"fastapi",
"uvicorn",
"python-multipart",
"wov-sdk",
]
# 本地路径依赖 wov-sdk。
[tool.uv.sources]
wov-sdk = { path = "../wov-sdk" }
# 开发依赖:pytest、覆盖率工具与 httpxTestClient 依赖)。
[dependency-groups]
dev = ["pytest", "pytest-cov", "httpx"]
# pytest 配置:强制 app 包 100% 行覆盖率。
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--cov=app --cov-report=term-missing --cov-fail-under=100"