Skip to content

Commit a6c9140

Browse files
committed
chore: delint
1 parent 1fa9ac9 commit a6c9140

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/toolbox-core/src/toolbox_core/tool.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ def __init__(
115115
# map of client headers to their value/callable/coroutine
116116
self.__client_headers = client_headers
117117

118-
119-
120118
@property
121119
def _name(self) -> str:
122120
return self.__name__

packages/toolbox-core/tests/test_tool.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ async def test_bind_param_chaining(
686686
headers={},
687687
)
688688

689+
689690
@pytest.mark.asyncio
690691
@pytest.mark.parametrize(
691692
"base_url, headers, should_warn",
@@ -720,7 +721,9 @@ async def test_tool_call_http_warning(
720721
transport=transport,
721722
name=TEST_TOOL_NAME,
722723
description="A tool",
723-
params=[ParameterSchema(name="param1", type="string", description="param1 desc")],
724+
params=[
725+
ParameterSchema(name="param1", type="string", description="param1 desc")
726+
],
724727
required_authn_params={},
725728
required_authz_tokens=[],
726729
auth_service_token_getters={},
@@ -742,7 +745,8 @@ async def test_tool_call_http_warning(
742745
with catch_warnings(record=True) as record:
743746
simplefilter("always")
744747
await tool(param1="value1")
745-
746-
warning_messages = [str(w.message) for w in record]
747-
assert not any("This connection is using HTTP" in msg for msg in warning_messages)
748748

749+
warning_messages = [str(w.message) for w in record]
750+
assert not any(
751+
"This connection is using HTTP" in msg for msg in warning_messages
752+
)

packages/toolbox-core/tests/test_toolbox_transport.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ async def test_tool_invoke_failure(http_session: ClientSession):
154154
assert str(exc_info.value) == "Invalid arguments"
155155

156156

157-
158-
159157
@pytest.mark.asyncio
160158
async def test_close_does_not_close_unmanaged_session():
161159
"""

0 commit comments

Comments
 (0)