style: apply ruff format to config.py and stdio.py

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-03-25 16:38:34 +00:00
parent 339f36df9c
commit 558943e0ab
2 changed files with 10 additions and 9 deletions

View File

@@ -4,7 +4,6 @@ This module provides Pydantic models for configuring MCP servers with
various transport types, similar to OpenAI's Agents SDK.
"""
from pydantic import BaseModel, Field
from crewai.mcp.filters import ToolFilter

View File

@@ -12,14 +12,16 @@ from crewai.mcp.transports.base import BaseTransport, TransportType
# Default allowlist of common MCP server runtimes.
DEFAULT_ALLOWED_COMMANDS: frozenset[str] = frozenset({
"python",
"python3",
"node",
"npx",
"uvx",
"deno",
})
DEFAULT_ALLOWED_COMMANDS: frozenset[str] = frozenset(
{
"python",
"python3",
"node",
"npx",
"uvx",
"deno",
}
)
class StdioTransport(BaseTransport):