From 11869a0181106460d3427571057fdcef258b4a0b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 17:46:33 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.4...v0.15.12) - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](https://github.com/codespell-project/codespell/compare/v2.4.1...v2.4.2) - [github.com/pycqa/isort: 8.0.1 → 9.0.0a3](https://github.com/pycqa/isort/compare/8.0.1...9.0.0a3) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v1.20.2) - [github.com/scientific-python/cookie: 2025.11.21 → 2026.04.04](https://github.com/scientific-python/cookie/compare/2025.11.21...2026.04.04) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f4bfb6..6f7521e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.4" + rev: "v0.15.12" hooks: - id: ruff-check types: [file, python] @@ -49,7 +49,7 @@ repos: types: [file, python] - repo: https://github.com/codespell-project/codespell - rev: "v2.4.1" + rev: "v2.4.2" hooks: - id: codespell types_or: [asciidoc, python, markdown, rst] @@ -58,7 +58,7 @@ repos: - repo: https://github.com/pycqa/isort - rev: '8.0.1' + rev: '9.0.0a3' hooks: - id: isort name: isort (cython) @@ -72,7 +72,7 @@ repos: types: [file, python] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.19.1' + rev: 'v1.20.2' hooks: - id: mypy exclude: 'noxfile\.py|docs/conf\.py' @@ -84,7 +84,7 @@ repos: - id: validate-pyproject - repo: https://github.com/scientific-python/cookie - rev: 2025.11.21 + rev: 2026.04.04 hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] From 1c7f3bcd0880b7ab7ae38f3588922d287fe8b5f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 17:47:42 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/stratify/tests/test_vinterp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratify/tests/test_vinterp.py b/src/stratify/tests/test_vinterp.py index 002bbc4..27ebb68 100644 --- a/src/stratify/tests/test_vinterp.py +++ b/src/stratify/tests/test_vinterp.py @@ -331,7 +331,7 @@ def test_npts(self): class Test_custom_extrap_kernel(unittest.TestCase): class my_kernel(vinterp.PyFuncExtrapolator): def __init__(self, *args, **kwargs): - super(Test_custom_extrap_kernel.my_kernel, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) def extrap_kernel(self, direction, z_src, fz_src, level, output_array): output_array[:] = -10