43 lines
832 B
TOML
43 lines
832 B
TOML
[project]
|
|
name = "hot-comments-analysis-tool"
|
|
version = "0.1.0"
|
|
description = "FastAPI MVP for Xiaohongshu and Douyin hot topic comment analysis."
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"beautifulsoup4>=4.12.3",
|
|
"fastapi>=0.115.0",
|
|
"httpx>=0.27.0",
|
|
"jinja2>=3.1.4",
|
|
"pydantic>=2.8.0",
|
|
"pydantic-settings>=2.4.0",
|
|
"sqlalchemy>=2.0.32",
|
|
"uvicorn[standard]>=0.30.6",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.3.2",
|
|
"pytest-cov>=5.0.0",
|
|
"pytest-mock>=3.14.0",
|
|
"respx>=0.21.1",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
exclude = ["data*", "docs*", "tests*"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["app"]
|
|
|
|
[tool.coverage.report]
|
|
omit = [
|
|
"app/templates/*",
|
|
"app/static/*",
|
|
"tests/*",
|
|
]
|