ruff check whole examples/mlperf/ (#10979)

This commit is contained in:
chenyu
2025-06-25 12:57:48 -04:00
committed by GitHub
parent 15e60caf09
commit efad567ebd
4 changed files with 4 additions and 4 deletions

View File

@@ -336,7 +336,7 @@ jobs:
run: |
pip3 install --upgrade --force-reinstall ruff==0.11.0
python3 -m ruff check .
python3 -m ruff check examples/mlperf/model_train.py --ignore E501
python3 -m ruff check examples/mlperf/ --ignore E501
- name: Lint tinygrad with pylint
run: python -m pylint tinygrad/
- name: Run mypy

View File

@@ -1,4 +1,4 @@
from tinygrad import Tensor, dtypes
from tinygrad import dtypes
from tinygrad.nn.optim import Optimizer
from extra.lr_scheduler import LR_Scheduler