Skip to content

Commit c761608

Browse files
chore(deps): update pre-commit hooks (#5951)
* chore(deps): update pre-commit hooks updates: - [github.com/pre-commit/mirrors-clang-format: v21.1.6 → v21.1.8](pre-commit/mirrors-clang-format@v21.1.6...v21.1.8) - [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.10](astral-sh/ruff-pre-commit@v0.14.7...v0.14.10) - [github.com/pre-commit/mirrors-mypy: v1.19.0 → v1.19.1](pre-commit/mirrors-mypy@v1.19.0...v1.19.1) - [github.com/crate-ci/typos: v1.40.0 → v1](crate-ci/typos@v1.40.0...v1) - [github.com/python-jsonschema/check-jsonschema: 0.35.0 → 0.36.0](python-jsonschema/check-jsonschema@0.35.0...0.36.0) * fix(tests): allow numpy>=2.3.0 for ARM64 to fix Windows ARM CI MSYS2 upgraded from numpy 2.3.x to 2.4.0, which no longer satisfies the ~=2.3.0 constraint. Relaxing to >=2.3.0 allows the MSYS2-provided numpy 2.4.0 to be used. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
1 parent 2c9191e commit c761608

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ repos:
2525

2626
# Clang format the codebase automatically
2727
- repo: https://github.com/pre-commit/mirrors-clang-format
28-
rev: "v21.1.6"
28+
rev: "v21.1.8"
2929
hooks:
3030
- id: clang-format
3131
types_or: [c++, c, cuda]
3232

3333
# Ruff, the Python auto-correcting linter/formatter written in Rust
3434
- repo: https://github.com/astral-sh/ruff-pre-commit
35-
rev: v0.14.7
35+
rev: v0.14.10
3636
hooks:
3737
- id: ruff-check
3838
args: ["--fix", "--show-fixes"]
3939
- id: ruff-format
4040

4141
# Check static types with mypy
4242
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: "v1.19.0"
43+
rev: "v1.19.1"
4444
hooks:
4545
- id: mypy
4646
args: []
@@ -120,7 +120,7 @@ repos:
120120

121121
# Also check spelling
122122
- repo: https://github.com/crate-ci/typos
123-
rev: v1.40.0
123+
rev: v1
124124
hooks:
125125
- id: typos
126126
args: []
@@ -149,7 +149,7 @@ repos:
149149

150150
# Check schemas on some of our YAML files
151151
- repo: https://github.com/python-jsonschema/check-jsonschema
152-
rev: 0.35.0
152+
rev: 0.36.0
153153
hooks:
154154
- id: check-readthedocs
155155
- id: check-github-workflows

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numpy~=1.26.0; platform_python_implementation=="GraalVM" and sys_platform=="linu
88
numpy~=1.21.5; platform_python_implementation=="CPython" and python_version>="3.8" and python_version<"3.10"
99
numpy~=1.22.2; platform_python_implementation=="CPython" and python_version=="3.10"
1010
numpy~=1.26.0; platform_python_implementation=="CPython" and python_version>="3.11" and python_version<"3.13" and platform_machine!="ARM64"
11-
numpy~=2.3.0; platform_python_implementation=="CPython" and python_version>="3.11" and platform_machine=="ARM64"
11+
numpy>=2.3.0; platform_python_implementation=="CPython" and python_version>="3.11" and platform_machine=="ARM64"
1212
numpy~=2.2.0; platform_python_implementation=="CPython" and python_version=="3.13" and platform_machine!="ARM64"
1313
numpy==2.4.0; platform_python_implementation=="CPython" and python_version>="3.14"
1414
pytest>=6

0 commit comments

Comments
 (0)