Files
v6ole 7455d7e426 chore: ruff 代码检查与修复
130 issues auto-fixed (import ordering, UP045/UP006 type annotations),
33 issues manually fixed (E712/E501/E402/E722 + N818 rename + per-file
wechat ignore for N8xx naming conventions). All 33 tests pass.
2026-05-09 14:28:09 +08:00

45 lines
933 B
TOML

[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.ruff.lint.per-file-ignores]
"app/wechat/*.py" = ["N802", "N803", "N806"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]