chore: ran linter and formatter

This commit is contained in:
2025-12-27 19:41:22 +01:00
parent 6195abbaa5
commit 3880a4ec49
5 changed files with 21 additions and 21 deletions

View File

@@ -181,9 +181,9 @@ class TestMakeToolsEdgeCases:
params = tool.parameters
if "required" in params and "properties" in params:
for req in params["required"]:
assert (
req in params["properties"]
), f"Required param {req} not in properties for {tool.name}"
assert req in params["properties"], (
f"Required param {req} not in properties for {tool.name}"
)
def test_make_tools_descriptions_not_empty(self, memory):
"""Should have non-empty descriptions."""
@@ -234,9 +234,9 @@ class TestMakeToolsEdgeCases:
if "properties" in tool.parameters:
for prop_name, prop_schema in tool.parameters["properties"].items():
if "type" in prop_schema:
assert (
prop_schema["type"] in valid_types
), f"Invalid type for {tool.name}.{prop_name}"
assert prop_schema["type"] in valid_types, (
f"Invalid type for {tool.name}.{prop_name}"
)
def test_make_tools_enum_values(self, memory):
"""Should have valid enum values."""