forked from dheerajjha/mcp-migrate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (27 loc) · 1.12 KB
/
Copy pathpyproject.toml
File metadata and controls
32 lines (27 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[project]
name = "mcp-migrate"
version = "0.4.0"
description = "Find and fix what the MCP 2026-07-28 spec revision breaks in your server."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
dependencies = ["pyyaml>=6.0", "rich>=13.0"]
[project.scripts]
mcp-migrate = "mcp_migrate.cli:main"
# Thin wrapper over `check` for .pre-commit-hooks.yaml -- see
# src/mcp_migrate/precommit.py for the one thing it changes.
mcp-migrate-precommit = "mcp_migrate.precommit:main"
[project.optional-dependencies]
dev = ["jsonschema>=4.0", "pytest>=8.0"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_migrate"]
[tool.pytest.ini_options]
# tests/fixtures/* are scan targets for mcp-migrate itself (deliberately
# broken/legacy servers, etc.), not pytest test modules -- some of them
# (by design, to reproduce real false positives) have names like
# test_legacy_transport_compat.py and import a nonexistent `mcp` package.
# Keep pytest from trying to collect them as its own tests.
norecursedirs = ["fixtures", ".venv", "venv", ".git", "*.egg-info"]