Refactor: reformat all code for lefthook using ruff and gofmt (#16585)

This commit is contained in:
Wang Qi
2026-07-03 12:53:39 +08:00
committed by GitHub
parent 19fcb4a981
commit 6a4b9be426
588 changed files with 11123 additions and 15412 deletions

View File

@@ -342,9 +342,7 @@ class TestThinkStreamParser(unittest.TestCase):
with self.subTest(case=case_name):
buf = io.StringIO()
with redirect_stdout(buf):
think_text, answer_text, markers = asyncio.run(
_collect_case(case["chunks"], case["min_tokens"])
)
think_text, answer_text, markers = asyncio.run(_collect_case(case["chunks"], case["min_tokens"]))
expected = case["expected"]
self.assertEqual(think_text, expected["think"], case_name)