refactor: align repo layout and logging safeguards

This commit is contained in:
qzl
2026-01-29 17:02:09 +08:00
parent 6af0989fe7
commit c2e65fa157
56 changed files with 1881 additions and 890 deletions
+38
View File
@@ -0,0 +1,38 @@
[project]
name = "social-app"
version = "0.1.0"
description = "Social application backend"
requires-python = ">=3.12"
dependencies = [
"basedpyright>=1.37.2",
"celery>=5.6.2",
"fastapi>=0.128.0",
"pydantic>=2.11.0",
"pydantic-settings>=2.10.0",
"structlog>=24.4.0",
"supabase>=2.27.2",
"uvicorn[standard]>=0.40.0",
]
[project.optional-dependencies]
dev = [
"httpx>=0.28.0",
"playwright>=1.49.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
]
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[tool.pytest.ini_options]
testpaths = ["api/tests"]
addopts = "-q"
asyncio_mode = "auto"
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
]