pyproject.toml•1.46 kB
[project]
name = "obsidian-mcp"
version = "0.1.0"
description = "Model Context Protocol server for Obsidian vaults"
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"mcp[cli]>=1.12.0",
"pyyaml>=6.0",
"python-dateutil>=2.8",
"python-dotenv>=1.0.0",
"google-api-python-client>=2.100.0",
"google-auth-oauthlib>=1.2.0",
"google-auth-httplib2>=0.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-asyncio>=0.21",
"pytest-cov>=4.1",
"ruff>=0.1",
"mypy>=1.7",
"types-pyyaml>=6.0",
"types-python-dateutil>=2.8",
]
[project.scripts]
obsidian-mcp = "obsidian_mcp.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = []
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["google.*", "googleapiclient.*", "google_auth_oauthlib.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
addopts = "--cov=src/obsidian_mcp --cov-report=term-missing --cov-report=html"