From fed6e3cbcad9708c831c35729f603e035e45af4d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:11:11 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.15.9) - [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/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v1.20.0) - [github.com/kynan/nbstripout: 0.8.2 → 0.9.1](https://github.com/kynan/nbstripout/compare/0.8.2...0.9.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 68492f03..2c12d194 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.15.9 hooks: - id: ruff args: [--fix] @@ -23,14 +23,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell exclude_types: [json] args: [--check-filenames] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.0 hooks: - id: mypy exclude: (tests|examples)/ @@ -42,7 +42,7 @@ repos: - id: format-ipy-cells - repo: https://github.com/kynan/nbstripout - rev: 0.8.2 + rev: 0.9.1 hooks: - id: nbstripout args: [--drop-empty-cells] From 39c1a696dca732e6037cff14ef821ed1fcd798e1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:12:21 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/matbench_example/train_wrenformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/matbench_example/train_wrenformer.py b/examples/matbench_example/train_wrenformer.py index 712e7992..74f85638 100644 --- a/examples/matbench_example/train_wrenformer.py +++ b/examples/matbench_example/train_wrenformer.py @@ -28,7 +28,7 @@ epochs = 10 folds = list(range(5)) timestamp = f"{datetime.now():%Y-%m-%d@%H-%M-%S}" -today = timestamp.split("@")[0] +today = timestamp.split("@", maxsplit=1)[0] # job_name unlike run_name doesn't include dataset and fold since not yet known without # SLURM_ARRAY_TASK_ID job_name = f"matbench-wrenformer-robust-{epochs=}"