fastapi_celery/pyproject.toml
2025-12-25 16:43:26 +08:00

28 lines
650 B
TOML
Raw Permalink 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.

[project]
name = "fastapi-celery-example"
version = "0.1.0"
description = "A FastAPI example with Celery integration"
authors = [{name = "Your Name", email = "your.email@example.com"}]
dependencies = [
"fastapi>=0.104.1",
"uvicorn[standard]>=0.24.0",
"celery>=5.3.4",
"redis>=5.0.1",
"loguru>=0.7.2",
"pydantic-settings>=2.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.ruff.lint]
# 显式禁用 E501虽然默认已禁
ignore = ["E501"]
[tool.ruff]
# 或设置更宽松的行长度(影响 ruff format
line-length = 120