Add strict mode to pyright (#315)

* Add strict mode to pyright

* Apply UP rule

* fix readme

* More correct

* Leave wrong Context for now

* Add strict mode to pyright

* Apply UP rule

* fix readme

* fix

* ignore
This commit is contained in:
Marcelo Trylesinski
2025-03-20 09:13:08 +00:00
committed by GitHub
parent 5a54d82459
commit ae77772ea8
27 changed files with 194 additions and 133 deletions

View File

@@ -4,6 +4,7 @@ import json
import os
import sys
from pathlib import Path
from typing import Any
from mcp.server.fastmcp.utilities.logging import get_logger
@@ -116,10 +117,7 @@ def update_claude_config(
# Add fastmcp run command
args.extend(["mcp", "run", file_spec])
server_config = {
"command": "uv",
"args": args,
}
server_config: dict[str, Any] = {"command": "uv", "args": args}
# Add environment variables if specified
if env_vars: