[project] name = "aiaudit-backend" version = "0.1.0" description = "AIAudit 本地 AI 内审平台后端" requires-python = ">=3.11" [tool.pytest.ini_options] testpaths = ["tests"] pythonpath = ["."] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "W", "UP", "B"] # B008:FastAPI 依赖注入 Depends() 作为默认值是官方推荐用法 ignore = ["B008"] [tool.mypy] python_version = "3.11" ignore_missing_imports = true