style: ruff format generate_tool_specs.py

This commit is contained in:
Iris
2026-04-08 15:14:41 +00:00
parent 8c42918dcf
commit ae0b25ca23

View File

@@ -181,8 +181,7 @@ class ToolSpecExtractor:
}
if "required" in json_schema:
json_schema["required"] = [
key for key in json_schema["required"]
if key not in ignored_init_params
key for key in json_schema["required"] if key not in ignored_init_params
]
return json_schema