[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