[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:
Harry Mellor
2026-09-16 10:57:24 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent 1085b64425
commit 651a88c09a
693 changed files with 2088 additions and 4171 deletions
+5 -10
View File
@@ -318,8 +318,7 @@ class TestStreaming:
def test_streaming_args_arrive_incrementally(self, parser, mock_request):
"""Arguments must stream as intermediate deltas, not batch at
tool-end.
"""
tool-end."""
chunks = [
"<tool_call>\n",
"<function=get_weather>\n",
@@ -524,8 +523,7 @@ class TestStreaming:
def test_streaming_split_tool_call_tag(self, parser, mock_request):
"""<tool_call> arrives as a single special token; the rest of
the content is split into fine-grained chunks.
"""
the content is split into fine-grained chunks."""
chunks = [
"<tool_call>\n",
"<function=test>\n",
@@ -702,8 +700,7 @@ class TestArgConverter:
class TestSchemaAwareTypeCoercion:
"""Verify that _fix_arg_types corrects miscoerced values using the
tool schema.
"""
tool schema."""
@pytest.fixture
def tools(self):
@@ -845,8 +842,7 @@ class TestAnyOfTypeCoercion:
def test_anyof_string_param_not_coerced(self, parser_with_anyof, mock_request):
"""A param with anyOf including 'string' must not be coerced
to integer.
"""
to integer."""
text = (
"<tool_call>\n"
"<function=set_config>\n"
@@ -862,8 +858,7 @@ class TestAnyOfTypeCoercion:
class TestSchemaCoercionBoolNumberNull:
"""Verify that _fix_arg_types coerces string values to non-string
schema types using coerce_to_schema_type.
"""
schema types using coerce_to_schema_type."""
@pytest.fixture
def tools(self):