File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -157,17 +157,15 @@ jobs:
157
157
uses : ./.github/actions/setup-tinygrad
158
158
with :
159
159
key : torch-backend-pillow-torchvision-et-pt
160
- deps : testing_minimal
160
+ deps : testing_minimal,linting
161
161
pydeps : " pillow torchvision expecttest"
162
162
llvm : ' true'
163
163
- name : Install ninja
164
164
run : |
165
165
sudo apt update || true
166
166
sudo apt install -y --no-install-recommends ninja-build
167
167
- name : Lint with ruff
168
- run : |
169
- pip3 install --upgrade --force-reinstall ruff==0.11.0
170
- python3 -m ruff check extra/torch_backend/backend.py
168
+ run : python3 -m ruff check extra/torch_backend/backend.py
171
169
- name : Test one op
172
170
run : PYTHONPATH=. FORWARD_ONLY=1 TINY_BACKEND=1 python3 test/test_ops.py TestOps.test_add
173
171
- name : Test ResNet-18
@@ -310,9 +308,7 @@ jobs:
310
308
- name : Lint bad-indentation and trailing-whitespace with pylint
311
309
run : python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string=' ' --recursive=y .
312
310
- name : Lint with ruff
313
- run : |
314
- pip3 install --upgrade --force-reinstall ruff==0.11.0
315
- python3 -m ruff check .
311
+ run : python3 -m ruff check .
316
312
- name : Lint tinygrad with pylint
317
313
run : python -m pylint tinygrad/
318
314
- name : Run mypy
Original file line number Diff line number Diff line change 40
40
"mypy==1.13.0" ,
41
41
"typing-extensions" ,
42
42
"pre-commit" ,
43
- "ruff" ,
43
+ "ruff==0.11.2 " ,
44
44
"types-tqdm" ,
45
45
],
46
46
#'mlperf': ["mlperf-logging @ git+https://github.com/mlperf/logging.git@4.1.0-rc3"],
You can’t perform that action at this time.
0 commit comments