From df901f698dde47a90c56a84c5a122de7b351b570 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Wed, 6 Nov 2024 11:08:22 +0000 Subject: [PATCH] Manually fix `ruff` issue --- mcp_python/client/stdio.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mcp_python/client/stdio.py b/mcp_python/client/stdio.py index 51c4df8..f69578e 100644 --- a/mcp_python/client/stdio.py +++ b/mcp_python/client/stdio.py @@ -10,7 +10,6 @@ from pydantic import BaseModel, Field from mcp_python.types import JSONRPCMessage - # Environment variables to inherit by default DEFAULT_INHERITED_ENV_VARS = ( ["APPDATA", "HOMEDRIVE", "HOMEPATH", "LOCALAPPDATA", "PATH", @@ -22,7 +21,10 @@ DEFAULT_INHERITED_ENV_VARS = ( def get_default_environment() -> dict[str, str]: - """Returns a default environment object including only environment variables deemed safe to inherit.""" + """ + Returns a default environment object including only environment variables deemed + safe to inherit. + """ env: dict[str, str] = {} for key in DEFAULT_INHERITED_ENV_VARS: