Skip to content

Commit 3f4db21

Browse files
[pre-commit.ci] pre-commit autoupdate (#109)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6810f8c commit 3f4db21

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: v0.14.10
8+
rev: v0.15.9
99
hooks:
1010
- id: ruff
1111
args: [--fix]
@@ -23,14 +23,14 @@ repos:
2323
- id: trailing-whitespace
2424

2525
- repo: https://github.com/codespell-project/codespell
26-
rev: v2.4.1
26+
rev: v2.4.2
2727
hooks:
2828
- id: codespell
2929
exclude_types: [json]
3030
args: [--check-filenames]
3131

3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v1.19.1
33+
rev: v1.20.0
3434
hooks:
3535
- id: mypy
3636
exclude: (tests|examples)/
@@ -42,7 +42,7 @@ repos:
4242
- id: format-ipy-cells
4343

4444
- repo: https://github.com/kynan/nbstripout
45-
rev: 0.8.2
45+
rev: 0.9.1
4646
hooks:
4747
- id: nbstripout
4848
args: [--drop-empty-cells]

examples/matbench_example/train_wrenformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
epochs = 10
2929
folds = list(range(5))
3030
timestamp = f"{datetime.now():%Y-%m-%d@%H-%M-%S}"
31-
today = timestamp.split("@")[0]
31+
today = timestamp.split("@", maxsplit=1)[0]
3232
# job_name unlike run_name doesn't include dataset and fold since not yet known without
3333
# SLURM_ARRAY_TASK_ID
3434
job_name = f"matbench-wrenformer-robust-{epochs=}"

0 commit comments

Comments
 (0)