pyproject.toml•1.36 kB
[project]
name = "td-mcp-server"
version = "0.1.0"
description = "Treasure Data API client for MCP"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"requests>=2.28.0",
"pydantic>=2.0.0",
"mcp[cli]>=1.8.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.10.0",
"pytest-cov>=4.0.0",
"responses>=0.23.0",
"mypy>=1.0.0",
"ruff>=0.1.6",
"pre-commit>=3.3.0",
"types-requests>=2.28.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
addopts = "--cov=td_mcp_server --cov-report=term-missing"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"asyncio: marks tests as async (deselect with '-m \"not asyncio\"')"
]
[tool.ruff]
line-length = 88
target-version = "py311"
exclude = [
".git",
".venv",
"__pycache__",
]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "C4", "N", "UP"]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["td_mcp_server"]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
strict_optional = true
warn_return_any = true
warn_unused_ignores = true
check_untyped_defs = true
disable_error_code = ["misc"]