Files
cordra-mcp/pyproject.toml
2025-06-30 12:04:08 +02:00

65 lines
1.2 KiB
TOML

[project]
name = "cordra-mcp"
version = "0.1.0"
description = "MCP server for Cordra digital object repository"
authors = [
{name = "Daniel Bauer", email = "github@dbauer.me"},
]
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = [
"mcp[cli]>=1.2.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"requests>=2.25.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"mypy>=1.6.0",
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"loguru>=0.7.0",
]
[project.scripts]
cordra-mcp = "cordra_mcp.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py311"
line-length = 88
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
[tool.ruff.lint]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
[[tool.mypy.overrides]]
module = ["cordra.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-v"
[dependency-groups]
dev = [
"mypy>=1.16.1",
"pytest-asyncio>=1.0.0",
"ruff>=0.12.1",
"types-requests>=2.32.4.20250611",
]