Skip to content

Commit b8176f7

Browse files
authored
Merge pull request #92 from glotzerlab/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents f7056b9 + e9fb49e commit b8176f7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ repos:
2828
- id: check-case-conflict
2929
- id: mixed-line-ending
3030
- repo: https://github.com/rhysd/actionlint
31-
rev: v1.7.6
31+
rev: v1.7.7
3232
hooks:
3333
- id: actionlint
3434
- repo: https://github.com/astral-sh/ruff-pre-commit
35-
rev: 'v0.8.6'
35+
rev: 'v0.11.4'
3636
hooks:
3737
- id: ruff-format
3838
- id: ruff
@@ -46,7 +46,7 @@ repos:
4646
- --license-file=LICENSE
4747
- --add=Part of row, released under the BSD 3-Clause License.
4848
- repo: https://github.com/crate-ci/typos
49-
rev: dictgen-v0.3.1
49+
rev: v1
5050
hooks:
5151
- id: typos
5252
exclude_types: [css]

validate/validate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_nvidia_gpus():
9393
message = 'Unexpected match {match.group(1)}.'
9494
raise RuntimeError(message)
9595

96-
if len(migs):
96+
if len(migs) > 0:
9797
return migs
9898

9999
return gpus

0 commit comments

Comments
 (0)