Skip to content

Commit 3460aa8

Browse files
committed
Update pre-commit versions + try to fix mypy
Usually this is due to it being confused about numpy, so try to upgrade that
1 parent 9fcafc6 commit 3460aa8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ repos:
4242
args: ["--prose-wrap=preserve", "--print-width=120"]
4343

4444
- repo: https://github.com/astral-sh/ruff-pre-commit
45-
rev: "v0.8.4"
45+
rev: "v0.9.2"
4646
hooks:
4747
- id: ruff
4848
args: ["--fix", "--show-fixes"]
4949
- id: ruff-format
5050

5151
- repo: https://github.com/pre-commit/mirrors-mypy
52-
rev: "v1.14.0"
52+
rev: "v1.14.1"
5353
hooks:
5454
- id: mypy
5555
files: src|tests
@@ -59,14 +59,14 @@ repos:
5959
additional_dependencies:
6060
- pytest
6161
- "attrs>=21.2.0"
62-
- "numpy>=1.23.4"
62+
- "numpy>=2.0"
6363
- "ruamel.yaml>=0.17.10"
6464
- "boost-histogram>=1.4"
6565
- "hist>=2.7.1"
6666
- "matplotlib >=3.3.2"
6767

6868
- repo: https://github.com/codespell-project/codespell
69-
rev: "v2.3.0"
69+
rev: "v2.4.0"
7070
hooks:
7171
- id: codespell
7272
additional_dependencies: [tomli]
@@ -91,7 +91,7 @@ repos:
9191
additional_dependencies: ["validate-pyproject-schema-store[all]"]
9292

9393
- repo: https://github.com/python-jsonschema/check-jsonschema
94-
rev: "0.30.0"
94+
rev: "0.31.0"
9595
hooks:
9696
- id: check-dependabot
9797
- id: check-github-workflows

0 commit comments

Comments
 (0)