Commit 0f7e04e 1 parent c229b27 commit 0f7e04e Copy full SHA for 0f7e04e
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ jobs:
59
59
python-version : ${{ matrix.python-version }}
60
60
- name : Install dependencies
61
61
run : |
62
- python -m pip install --upgrade pip
63
- python -m pip install pytest pytest-cov
64
- pip install torch==${{ matrix.pytorch-version }} torchvision transformers
62
+ python -m pip install --upgrade uv
63
+ uv pip install --system pytest pytest-cov
64
+ uv pip install --system torch==${{ matrix.pytorch-version }} torchvision transformers
65
65
- name : mypy
66
66
if : ${{ matrix.pytorch-version == '2.2' }}
67
67
run : |
68
- python -m pip install mypy==1.9.0
68
+ uv pip install --system mypy==1.9.0
69
69
mypy --install-types --non-interactive .
70
70
- name : pytest
71
71
if : ${{ matrix.pytorch-version == '2.2' }}
Original file line number Diff line number Diff line change 2
2
skip : [mypy, pytest]
3
3
repos :
4
4
- repo : https://github.com/astral-sh/ruff-pre-commit
5
- rev : v0.6.7
5
+ rev : v0.6.8
6
6
hooks :
7
7
- id : ruff
8
8
args : [--fix]
You can’t perform that action at this time.
0 commit comments