This commit is contained in:
@@ -5,7 +5,7 @@ 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"]
|
||||
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"]
|
||||
@@ -23,6 +23,9 @@ exclude = ["build", "dist", ".venv", "venv"]
|
||||
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
|
||||
@@ -34,6 +37,10 @@ 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"]
|
||||
|
||||
Reference in New Issue
Block a user