Commit 49768fd
committed
Tests(chore): Run the mcp adapter suite in the gate
why: fastmcp is only the optional `mcp` extra, so a plain `uv sync`
prunes it -- which silently turns `uv run mypy` red and makes every
fastmcp adapter test importorskip away. The committed adapter's green
gate depended on fastmcp happening to be installed.
what:
- Add fastmcp + tomlkit to the dev and testing dependency-groups so the
standard gate type-checks and runs the adapter + mcp_swap tests
(fastmcp also stays the `mcp` extra for end users)
- Add --ignore=docs/_build to pytest addopts: `docs` is a testpath, so a
stale built-HTML tree poisons collection (the gate's rm docs/_build
first-step was the only guard)
- Reformat ops/plan.py (pre-existing blank-line drift surfaced by ruff)
- uv.lock: add tomlkit (no other version churn)1 parent 773570d commit 49768fd
3 files changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
91 | 101 | | |
92 | 102 | | |
93 | 103 | | |
| |||
315 | 325 | | |
316 | 326 | | |
317 | 327 | | |
318 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
319 | 332 | | |
320 | 333 | | |
321 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments