From 3c4f387a9048e35a6f3a0a3be0f019294c04a687 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 18:46:38 +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/asottile/blacken-docs: 1.18.0 → 1.20.0](https://github.com/asottile/blacken-docs/compare/1.18.0...1.20.0) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.2...v0.15.20) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.2](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.2) --- .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 87f08c7..6cd64e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,13 +9,13 @@ ci: repos: - repo: https://github.com/asottile/blacken-docs - rev: "1.18.0" + rev: "1.20.0" hooks: - id: blacken-docs additional_dependencies: [black==23.7.0] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v6.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -38,13 +38,13 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.2" + rev: "v0.15.20" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/codespell-project/codespell - rev: "v2.3.0" + rev: "v2.4.2" hooks: - id: codespell From 95c52cb110d3f8ecd905b95678d95548a5f27fcd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 18:46:57 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/supercapacitors/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/supercapacitors/__init__.py b/src/supercapacitors/__init__.py index f446460..2554ca5 100644 --- a/src/supercapacitors/__init__.py +++ b/src/supercapacitors/__init__.py @@ -10,9 +10,9 @@ from supercapacitors.entry_point import Model, models, parameter_sets __all__ = [ - "__version__", - "pybamm", - "parameter_sets", "Model", + "__version__", "models", + "parameter_sets", + "pybamm", ]