Skip to content

Commit b9fab9b

Browse files
authored
pin ruff to 0.11.0 in CI (tinygrad#9520)
0.11.1 had a bug astral-sh/ruff#16874 that breaks ci
1 parent 3c5161b commit b9fab9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
sudo apt install -y --no-install-recommends ninja-build
167167
- name: Lint with ruff
168168
run: |
169-
pip3 install --upgrade --force-reinstall ruff
169+
pip3 install --upgrade --force-reinstall ruff==0.11.0
170170
python3 -m ruff check extra/torch_backend/backend.py
171171
- name: Test one op
172172
run: PYTHONPATH=. FORWARD_ONLY=1 TINY_BACKEND=1 python3 test/test_ops.py TestOps.test_add
@@ -311,7 +311,7 @@ jobs:
311311
run: python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string=' ' --recursive=y .
312312
- name: Lint with ruff
313313
run: |
314-
pip3 install --upgrade --force-reinstall ruff
314+
pip3 install --upgrade --force-reinstall ruff==0.11.0
315315
python3 -m ruff check .
316316
- name: Lint tinygrad with pylint
317317
run: python -m pylint tinygrad/

0 commit comments

Comments
 (0)