Skip to content

Commit 90fd98e

Browse files
committed
revert whitespace changes
1 parent e8f130d commit 90fd98e

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

tests/test_examples.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,7 @@ async def get_tools(self, ctx: RunContext[Any]) -> dict[str, ToolsetTool[Any]]:
311311
return {}
312312

313313
async def call_tool(
314-
self,
315-
name: str,
316-
tool_args: dict[str, Any],
317-
ctx: RunContext[Any],
318-
tool: ToolsetTool[Any],
314+
self, name: str, tool_args: dict[str, Any], ctx: RunContext[Any], tool: ToolsetTool[Any]
319315
) -> Any:
320316
return None # pragma: lax no cover
321317

tests/test_logfire.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,7 @@ async def __aexit__(self, *args: Any) -> bool | None:
102102
return await super().__aexit__(*args)
103103

104104
async def call_tool(
105-
self,
106-
name: str,
107-
tool_args: dict[str, Any],
108-
ctx: RunContext[Any],
109-
tool: ToolsetTool[Any],
105+
self, name: str, tool_args: dict[str, Any], ctx: RunContext[Any], tool: ToolsetTool[Any]
110106
) -> Any:
111107
with logfire.span('toolset_call_tool {name}', name=name): # pyright: ignore[reportPossiblyUnboundVariable]
112108
return await super().call_tool(name, tool_args, ctx, tool)

tests/test_toolsets.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,7 @@ async def get_tools(self, ctx: RunContext[None]) -> dict[str, ToolsetTool[None]]
760760
return {}
761761

762762
async def call_tool(
763-
self,
764-
name: str,
765-
tool_args: dict[str, Any],
766-
ctx: RunContext[None],
767-
tool: ToolsetTool[None],
763+
self, name: str, tool_args: dict[str, Any], ctx: RunContext[None], tool: ToolsetTool[None]
768764
) -> Any:
769765
return None # pragma: no cover
770766

0 commit comments

Comments
 (0)