[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "agenteval"
version = "0.4.0-dev"
description = "智能体质量评估工具集平台"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
    { name = "AgentEval Team" }
]
keywords = ["agent", "evaluation", "llm", "openclaw"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
]
dependencies = [
    "typer>=0.12.0",
    "pydantic>=2.0.0",
    "sqlmodel>=0.0.19",
    "fastapi>=0.111.0",
    "uvicorn[standard]>=0.30.0",
    "jinja2>=3.1.4",
    "pyyaml>=6.0.1",
    "requests>=2.32.0",
    "python-multipart>=0.0.9",
    "rich>=13.0.0",
    "httpx>=0.27.0",
    "websockets>=12.0",
    "pydantic-settings>=2.3.0",
    "python-dotenv>=1.0.0",
    "alembic>=1.13.0",
    "cryptography>=42.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.2.0",
    "pytest-asyncio>=0.23.7",
    "httpx>=0.27.0",
    "ruff>=0.5.0",
]

[project.scripts]
agenteval = "cli.main:app"

[tool.hatch.build.targets.wheel]
packages = ["backend/agenteval", "backend/cli"]

[tool.ruff]
line-length = 120
target-version = "py310"

[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
pythonpath = ["backend", "."]
asyncio_mode = "auto"
