You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: clean up ruff findings from #23 / #24 / #25 (#26)
* chore: clean up ruff findings introduced by #23 / #24 / #25
The Lint check failed on all three merged PRs because the new files
tripped ``F401`` (unused ``typing.Any``), ``SIM105`` (replace
``try``/``except``/``pass`` with ``contextlib.suppress``), ``UP041``
(replace ``asyncio.TimeoutError`` with builtin ``TimeoutError``),
``I001`` (import ordering), and ``F841`` (unused local).
The other CI jobs (Unit tests, SDK Python, SDK Java, Typecheck, Docling)
were all green on each PR; the merges weren't gated on Lint. This is
the follow-up sweep so ``ruff check`` is clean on ``main``.
11 errors fixed (8 auto-fixed by ``ruff --fix``, 3 manual).
* chore: apply ``ruff format`` to the same files
The Lint job runs both ``ruff check`` and ``ruff format --check``.
The previous commit cleared the ``check`` half; this one runs
``ruff format`` over the 8 files in the same change set so the
formatter half passes too.
No behaviour change.
---------
Co-authored-by: ancongui <andres.contreras@soon.es>
0 commit comments