[build-system] requires = ["setuptools>=75"] build-backend = "setuptools.build_meta" [project] name = "jr-agent-platform" version = "0.1.0" description = "金融系统 Agent 通用底座" requires-python = ">=3.13,<3.14" dependencies = [ "fastapi>=0.115,<1", "uvicorn[standard]>=0.34,<1", "pydantic>=2.10,<3", "pydantic-settings>=2.7,<3", "sqlalchemy>=2.0,<3", "alembic>=1.14,<2", "asyncmy>=0.2,<1", "pymysql>=1.1,<2", "redis>=5.2,<6", "neo4j>=5.28,<6", "pymilvus>=2.5,<3", "PyJWT>=2.10,<3", "cryptography>=44,<51", "httpx>=0.28,<1", ] [project.optional-dependencies] dev = [ "pytest>=8.3,<9", "pytest-asyncio>=0.25,<1", "ruff>=0.9,<1", "mypy>=1.14,<2", ] [tool.setuptools.packages.find] include = ["app*"] [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" markers = ["integration: requires local database services"] [tool.ruff] line-length = 100 target-version = "py313" [tool.ruff.lint] select = ["E", "F", "I", "B", "UP"] [tool.ruff.lint.per-file-ignores] "alembic/versions/*.py" = ["E501"] "tools/*.py" = ["E501", "I001", "B007"] [tool.mypy] python_version = "3.13" strict = true packages = ["app"]