64 lines
1.2 KiB
TOML
64 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "legal-ai-assistant"
|
|
version = "0.3.0"
|
|
description = "Legal AI Assistant - Slovak Ministry of Justice API"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"pydantic==2.12.5",
|
|
"httpx>=0.28.0",
|
|
"anyio>=4.7.0"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
"mypy",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-metadata",
|
|
"pytest-reporter-html1",
|
|
]
|
|
backend = [
|
|
"fastapi>=0.136.0",
|
|
"uvicorn[standard]>=0.34.0",
|
|
"openai-agents==0.6.3"
|
|
]
|
|
frontend = [
|
|
"chainlit==2.11.0",
|
|
"aiohttp>=3.9.0",
|
|
"SQLAlchemy>=2.0.0",
|
|
"asyncpg>=0.29.0"
|
|
]
|
|
mcp = [
|
|
"fastmcp>=2.7.0",
|
|
"cachetools>=7.0.5",
|
|
"tenacity>=9.1.4"
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py311"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = false
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = true
|
|
markers = [
|
|
"evals: evaluation tests",
|
|
"e2e: end-to-end tests",
|
|
]
|