From 62aa79966c8a284dc48353cdad263d971792688d Mon Sep 17 00:00:00 2001 From: Mart Ratas Date: Fri, 24 Jul 2026 12:25:03 +0100 Subject: [PATCH] build(cogstack-es): Pin ruff to earlier versions to avoid workflow failures Turns out ruff `v0.16.x` introduced new checks that I do not wish to tackle at this point. E.g: - I001 [*] Import block is un-sorted or un-formatted - UP035 [*] Import from `collections.abc` instead: `Iterable`, `Sequence` - UP035 `typing.Type` is deprecated, use `type` instead - UP007 [*] Use `X | Y` for type annotations - UP045 [*] Use `X | None` for type annotations --- cogstack-es/pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cogstack-es/pyproject.toml b/cogstack-es/pyproject.toml index 3282d2114..34f67d4a9 100644 --- a/cogstack-es/pyproject.toml +++ b/cogstack-es/pyproject.toml @@ -34,7 +34,9 @@ dev = [ "pandas-stubs", "types-tqdm", "pytest", - "ruff", + # NOTE: ruff 0.16.0 introduces new checks that I am unwilling + # to tackle at this point in time + "ruff<0.16.0", "nbconvert", ] ES8 = [