From 99873237a1142a895f8c1c2f72b3871dfaf7a2c7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 12:15:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- unsloth/dataprep/synthetic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py index 242eabd528..4b51f8cc89 100644 --- a/unsloth/dataprep/synthetic.py +++ b/unsloth/dataprep/synthetic.py @@ -297,8 +297,9 @@ class SyntheticDataKit: ready = False deadline = time.monotonic() + (timeout or 1200) while time.monotonic() < deadline: - if self.stdout_capture.wait_for_ready(timeout = 1) or \ - self.stderr_capture.wait_for_ready(timeout = 0): + if self.stdout_capture.wait_for_ready(timeout = 1) or self.stderr_capture.wait_for_ready( + timeout = 0 + ): ready = True break if self.vllm_process.poll() is not None: