File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ repos:
28
28
- id : check-case-conflict
29
29
- id : mixed-line-ending
30
30
- repo : https://github.com/rhysd/actionlint
31
- rev : v1.7.6
31
+ rev : v1.7.7
32
32
hooks :
33
33
- id : actionlint
34
34
- repo : https://github.com/astral-sh/ruff-pre-commit
35
- rev : ' v0.8.6 '
35
+ rev : ' v0.11.4 '
36
36
hooks :
37
37
- id : ruff-format
38
38
- id : ruff
46
46
- --license-file=LICENSE
47
47
- --add=Part of row, released under the BSD 3-Clause License.
48
48
- repo : https://github.com/crate-ci/typos
49
- rev : dictgen-v0.3.1
49
+ rev : v1
50
50
hooks :
51
51
- id : typos
52
52
exclude_types : [css]
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def get_nvidia_gpus():
93
93
message = 'Unexpected match {match.group(1)}.'
94
94
raise RuntimeError (message )
95
95
96
- if len (migs ):
96
+ if len (migs ) > 0 :
97
97
return migs
98
98
99
99
return gpus
You can’t perform that action at this time.
0 commit comments