File tree 3 files changed +13
-16
lines changed
3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ updates:
5
5
schedule :
6
6
interval : " daily"
7
7
- package-ecosystem : " pip"
8
- directory : " /"
8
+ directory : " /requirements "
9
9
schedule :
10
10
interval : " daily"
11
- # Allow up to 2 open pull requests at a time
12
- open-pull-requests-limit : 2
13
- allow :
14
- - dependency-name : " timm"
15
- dependency-type : " all"
11
+ groups :
12
+ torch :
13
+ patterns :
14
+ - " torch"
15
+ - " torchvision"
16
+ ignore :
17
+ - dependency-name : " setuptools"
18
+ update-types : ["version-update:semver-patch"]
Original file line number Diff line number Diff line change 21
21
with :
22
22
python-version : " 3.11"
23
23
- name : Install dependencies
24
- run : |
25
- python -m pip install --upgrade pip uv
26
- python -m uv pip install ruff==0.5.2
24
+ run : python -m pip install -r requirements/test.txt
27
25
# Update output format to enable automatic inline annotations.
28
26
- name : Run Ruff Linter
29
27
run : ruff check --output-format=github
40
38
with :
41
39
python-version : 3.9
42
40
- name : Install dependencies
43
- run : |
44
- python -m pip install --upgrade pip uv
45
- python -m uv pip install torch==2.3.1+cpu torchvision==0.18.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
46
- make install_dev
41
+ run : python -m pip install -r requirements/required.txt -r requirements/test.txt
47
42
- name : Test with pytest
48
- run : make test
49
-
43
+ run : pytest
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ sphinx:
19
19
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20
20
python :
21
21
install :
22
- - requirements : docs/ requirements.txt
22
+ - requirements : requirements/docs .txt
You can’t perform that action at this time.
0 commit comments