From 0379ba02f0f3e6cf18a0cfdf2f07cc3953951d65 Mon Sep 17 00:00:00 2001 From: RinCodeForge927 Date: Mon, 19 Jan 2026 15:38:42 +0700 Subject: [PATCH] chore: include cli and ws extras in dev environment --- pyproject.toml | 26 ++++++++++++++------------ uv.lock | 2 ++ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4925e603db..daa294fa87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,18 +55,20 @@ required-version = ">=0.9.5" [dependency-groups] dev = [ - "pyright>=1.1.400", - "pytest>=8.3.4", - "ruff>=0.8.5", - "trio>=0.26.2", - "pytest-flakefinder>=1.1.0", - "pytest-xdist>=3.6.1", - "pytest-examples>=0.0.14", - "pytest-pretty>=1.2.0", - "inline-snapshot>=0.23.0", - "dirty-equals>=0.9.0", - "coverage[toml]>=7.13.1", - "pillow>=12.0", + # We add mcp[cli,ws] so `uv sync` considers the extras. + "mcp[cli,ws]", + "pyright\u003e=1.1.400", + "pytest\u003e=8.3.4", + "ruff\u003e=0.8.5", + "trio\u003e=0.26.2", + "pytest-flakefinder\u003e=1.1.0", + "pytest-xdist\u003e=3.6.1", + "pytest-examples\u003e=0.0.14", + "pytest-pretty\u003e=1.2.0", + "inline-snapshot\u003e=0.23.0", + "dirty-equals\u003e=0.9.0", + "coverage[toml]\u003e=7.13.1", + "pillow\u003e=12.0", ] docs = [ "mkdocs>=1.6.1", diff --git a/uv.lock b/uv.lock index d2a5158630..39f7a63609 100644 --- a/uv.lock +++ b/uv.lock @@ -756,6 +756,7 @@ dev = [ { name = "coverage", extra = ["toml"] }, { name = "dirty-equals" }, { name = "inline-snapshot" }, + { name = "mcp", extra = ["cli", "ws"] }, { name = "pillow" }, { name = "pyright" }, { name = "pytest" }, @@ -803,6 +804,7 @@ dev = [ { name = "coverage", extras = ["toml"], specifier = ">=7.13.1" }, { name = "dirty-equals", specifier = ">=0.9.0" }, { name = "inline-snapshot", specifier = ">=0.23.0" }, + { name = "mcp", extras = ["cli", "ws"], editable = "." }, { name = "pillow", specifier = ">=12.0" }, { name = "pyright", specifier = ">=1.1.400" }, { name = "pytest", specifier = ">=8.3.4" },