47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[project]
|
|
name = "mcp-server"
|
|
version = "0.1.0"
|
|
description = "Local-only MCP server for repository maintenance tasks"
|
|
requires-python = ">=3.12"
|
|
readme = "README.md"
|
|
authors = [{ name = "Repo Automation" }]
|
|
dependencies = ["click>=8.1.7", "mcp>=1.2.0"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["ruff>=0.6.5", "black>=24.10.0", "pytest>=8.3.3", "mypy>=1.11.2"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py312"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
exclude = ["build", "dist", ".venv", "venv"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "D", "UP", "I", "N", "B", "PL", "C4", "RET", "TRY"]
|
|
ignore = ["D203", "D212"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"src/mcp_server/tools.py" = ["PLC0415"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
warn_unused_configs = true
|
|
warn_unused_ignores = true
|
|
warn_redundant_casts = true
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
no_implicit_optional = true
|
|
strict_equality = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["mcp", "mcp.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-q --maxfail=1 --disable-warnings --durations=10"
|
|
testpaths = ["tests"]
|