From ffff3d9450f6c850405cb07238662dd04a03b531 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 21 Oct 2024 14:54:47 +0100 Subject: [PATCH] ruff --fix --- mcp_python/types.py | 2 +- tests/test_types.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mcp_python/types.py b/mcp_python/types.py index 78464ec..012122e 100644 --- a/mcp_python/types.py +++ b/mcp_python/types.py @@ -21,7 +21,7 @@ for reference. not separate types in the schema. """ -LATEST_PROTOCOL_VERSION = "2024-10-07"; +LATEST_PROTOCOL_VERSION = "2024-10-07" ProgressToken = str | int Cursor = str diff --git a/tests/test_types.py b/tests/test_types.py index d9bc46a..e2c0ac2 100644 --- a/tests/test_types.py +++ b/tests/test_types.py @@ -1,4 +1,9 @@ -from mcp_python.types import LATEST_PROTOCOL_VERSION, ClientRequest, JSONRPCMessage, JSONRPCRequest +from mcp_python.types import ( + LATEST_PROTOCOL_VERSION, + ClientRequest, + JSONRPCMessage, + JSONRPCRequest, +) def test_jsonrpc_request():