Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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)/
Expand All @@ -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]
2 changes: 1 addition & 1 deletion examples/matbench_example/train_wrenformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=}"
Expand Down
Loading