[CI][RFC] Replace black-jupyter with ruff-format (#37210)

Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
Alex Nails
2026-09-02 19:46:08 -07:00
committed by GitHub
co-authored by Alison Shao
parent 2641e427be
commit 28262c20df
1411 changed files with 7766 additions and 8176 deletions
@@ -23,7 +23,6 @@ from sglang.test.test_utils import (
class TestToolChoiceLlama32(CustomTestCase):
@classmethod
def setUpClass(cls):
# Mark flaky tests for this model
@@ -379,15 +378,15 @@ class TestToolChoiceLlama32(CustomTestCase):
# Update function name if present (first chunk)
if tool_call_delta.function and tool_call_delta.function.name:
tool_calls_by_index[tool_index]["function"][
"name"
] = tool_call_delta.function.name
tool_calls_by_index[tool_index]["function"]["name"] = (
tool_call_delta.function.name
)
# Accumulate arguments (all chunks)
if tool_call_delta.function and tool_call_delta.function.arguments:
tool_calls_by_index[tool_index]["function"][
"arguments"
] += tool_call_delta.function.arguments
tool_calls_by_index[tool_index]["function"]["arguments"] += (
tool_call_delta.function.arguments
)
self.assertGreater(len(tool_calls_by_index), 0)