feat: 创建 FastAPI 项目骨架(config + main + 依赖管理)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
[project]
|
||||
name = "gx-gp-notify"
|
||||
version = "2.0.0"
|
||||
description = "广西政府采购网公告监控系统"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.30.0",
|
||||
"sqlalchemy[asyncio]>=2.0.30",
|
||||
"asyncpg>=0.29.0",
|
||||
"alembic>=1.13.0",
|
||||
"httpx>=0.27.0",
|
||||
"apscheduler>=3.10.0",
|
||||
"pydantic-settings>=2.3.0",
|
||||
"beautifulsoup4>=4.12.0",
|
||||
"lxml>=5.2.0",
|
||||
"pycryptodome>=3.20.0",
|
||||
"python-dateutil>=2.9.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.2.0",
|
||||
"pytest-asyncio>=0.23.0",
|
||||
"pytest-cov>=5.0.0",
|
||||
"ruff>=0.4.0",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["app*"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "N", "W", "UP"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
Reference in New Issue
Block a user