From b9fab9b9146f58472ae2a71f47a322fa8ead7e07 Mon Sep 17 00:00:00 2001 From: chenyu Date: Thu, 20 Mar 2025 13:12:50 -0400 Subject: [PATCH] pin ruff to 0.11.0 in CI (#9520) 0.11.1 had a bug https://github.com/astral-sh/ruff/issues/16874 that breaks ci --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4873e153a9..df68d466df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -166,7 +166,7 @@ jobs: sudo apt install -y --no-install-recommends ninja-build - name: Lint with ruff run: | - pip3 install --upgrade --force-reinstall ruff + pip3 install --upgrade --force-reinstall ruff==0.11.0 python3 -m ruff check extra/torch_backend/backend.py - name: Test one op run: PYTHONPATH=. FORWARD_ONLY=1 TINY_BACKEND=1 python3 test/test_ops.py TestOps.test_add @@ -311,7 +311,7 @@ jobs: run: python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string=' ' --recursive=y . - name: Lint with ruff run: | - pip3 install --upgrade --force-reinstall ruff + pip3 install --upgrade --force-reinstall ruff==0.11.0 python3 -m ruff check . - name: Lint tinygrad with pylint run: python -m pylint tinygrad/