From d0547ce2f26a8ab733d533e382e3d867b14fead0 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 20:12:50 +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/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...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/python-jsonschema/check-jsonschema: 0.31.3 → 0.37.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.3...0.37.2) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.20.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.20.2) - [github.com/python-jsonschema/check-jsonschema: 0.32.1 → 0.37.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.32.1...0.37.2) - [github.com/henryiii/validate-pyproject-schema-store: 2025.02.24 → 2026.04.26](https://github.com/henryiii/validate-pyproject-schema-store/compare/2025.02.24...2026.04.26) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6471bc4..fd3f2d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-case-conflict - id: check-merge-conflict @@ -20,27 +20,27 @@ repos: args: ["--pytest-test-first"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.2 + rev: v0.15.12 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell additional_dependencies: - tomli - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.31.3 + rev: 0.37.2 hooks: - id: check-github-workflows args: ["--verbose"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.20.2 hooks: - id: mypy files: src @@ -49,13 +49,13 @@ repos: - types-pyyaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.32.1 + rev: 0.37.2 hooks: - id: check-readthedocs - id: check-dependabot - id: check-github-workflows - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2025.02.24 + rev: 2026.04.26 hooks: - id: validate-pyproject From 8dd2c3055ac37caf116a1ad523df18ff50599c82 Mon Sep 17 00:00:00 2001 From: Tristan Fillinger Date: Thu, 7 May 2026 15:52:39 +0900 Subject: [PATCH 2/2] fix: removed PD901 ruff rule (deprecated) --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 778dd29..692c0ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,5 +63,4 @@ extend-select = [ ignore = [ "E402", # module level import not at top of file "NPY002", # Replace legacy `np.random` call with `np.random.Generator` - "PD901", # Avoid using the generic variable name `df` for DataFrames ]