[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -220,8 +220,7 @@ def test_reasoning_then_parallel_calls():
|
||||
|
||||
def _stream(raw: str, chunk: int):
|
||||
"""Feed ``raw`` incrementally in ``chunk``-char steps through BOTH streaming
|
||||
parsers; return (reasoning, content, tool_calls).
|
||||
"""
|
||||
parsers; return (reasoning, content, tool_calls)."""
|
||||
reasoning, content, toolcalls = [], [], []
|
||||
prev = ""
|
||||
i = 0
|
||||
|
||||
@@ -376,8 +376,7 @@ WEB_SEARCH_TOOL = WebSearchTool(type="web_search")
|
||||
|
||||
class TestNonFunctionToolsSkipped:
|
||||
"""Non-function tools (web_search, etc.) must be silently skipped
|
||||
by the tool-schema utilities instead of raising TypeError.
|
||||
"""
|
||||
by the tool-schema utilities instead of raising TypeError."""
|
||||
|
||||
def test_find_tool_properties_skips_web_search(self):
|
||||
tools = [WEB_SEARCH_TOOL, FUNCTION_TOOL]
|
||||
|
||||
Reference in New Issue
Block a user