diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a8e97a76a..65d1445623 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.12" + rev: "v0.14.3" hooks: - id: ruff args: [--fix, --show-fixes] @@ -39,11 +39,11 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/scientific-python/cookie - rev: 2025.05.02 + rev: 2025.10.20 hooks: - id: sp-repo-review - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.12.1 + rev: v1.16.2 hooks: - id: zizmor diff --git a/scripts/update_version.py b/scripts/update_version.py index dcba683e18..641d8da710 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -6,9 +6,10 @@ import re from datetime import date -import pybamm from pybamm._version import __version__ as release_version +import pybamm + def update_version(): """