Skip to content

Commit 46e00e5

Browse files
chore: update pre-commit hooks (#426)
* chore: update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.4...v0.15.12) - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2) - [github.com/pycqa/isort: 8.0.1 → 9.0.0a3](PyCQA/isort@8.0.1...9.0.0a3) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.2](pre-commit/mirrors-mypy@v1.19.1...v1.20.2) - [github.com/scientific-python/cookie: 2025.11.21 → 2026.04.04](scientific-python/cookie@2025.11.21...2026.04.04) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4987f9e commit 46e00e5

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
@@ -40,7 +40,7 @@ repos:
4040

4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.15.4"
43+
rev: "v0.15.12"
4444
hooks:
4545
- id: ruff-check
4646
types: [file, python]
@@ -49,7 +49,7 @@ repos:
4949
types: [file, python]
5050

5151
- repo: https://github.com/codespell-project/codespell
52-
rev: "v2.4.1"
52+
rev: "v2.4.2"
5353
hooks:
5454
- id: codespell
5555
types_or: [asciidoc, python, markdown, rst]
@@ -58,7 +58,7 @@ repos:
5858

5959

6060
- repo: https://github.com/pycqa/isort
61-
rev: '8.0.1'
61+
rev: '9.0.0a3'
6262
hooks:
6363
- id: isort
6464
name: isort (cython)
@@ -72,7 +72,7 @@ repos:
7272
types: [file, python]
7373

7474
- repo: https://github.com/pre-commit/mirrors-mypy
75-
rev: 'v1.19.1'
75+
rev: 'v1.20.2'
7676
hooks:
7777
- id: mypy
7878
exclude: 'noxfile\.py|docs/conf\.py'
@@ -84,7 +84,7 @@ repos:
8484
- id: validate-pyproject
8585

8686
- repo: https://github.com/scientific-python/cookie
87-
rev: 2025.11.21
87+
rev: 2026.04.04
8888
hooks:
8989
- id: sp-repo-review
9090
additional_dependencies: ["repo-review[cli]"]

src/stratify/tests/test_vinterp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def test_npts(self):
331331
class Test_custom_extrap_kernel(unittest.TestCase):
332332
class my_kernel(vinterp.PyFuncExtrapolator):
333333
def __init__(self, *args, **kwargs):
334-
super(Test_custom_extrap_kernel.my_kernel, self).__init__(*args, **kwargs)
334+
super().__init__(*args, **kwargs)
335335

336336
def extrap_kernel(self, direction, z_src, fz_src, level, output_array):
337337
output_array[:] = -10

0 commit comments

Comments
 (0)