Skip to content

Commit 219c7c2

Browse files
committed
fix: Ignore pyright errors for dynamic imports in test_integration.py
- Use type: ignore to suppress import errors for dynamically added modules - Auto-format code with ruff This resolves the remaining pre-commit pyright failures for the integration test file where modules are dynamically imported from multiprocessing context.
1 parent 56cccb2 commit 219c7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/server/fastmcp/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run_server_with_transport(module_name: str, port: int, transport: str) -> No
8484
sys.path.insert(0, os.path.abspath(snippets_path))
8585

8686
# Import the servers module in the multiprocessing context
87-
from servers import (
87+
from servers import ( # type: ignore
8888
basic_prompt,
8989
basic_resource,
9090
basic_tool,

0 commit comments

Comments
 (0)