From 77a278f6dbd382c85737d86cd07f1dc1a5781be3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:57:54 +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/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) - [github.com/pre-commit/mirrors-clang-format: v19.1.2 → v20.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.2...v20.1.8) - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.12.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.12.10) --- .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 ecba4f3..f367715 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -47,7 +47,7 @@ repos: exclude: \.ipynb$ - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell exclude: \.ipynb$|Gemfile\.lock$ @@ -61,13 +61,13 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v19.1.2 + rev: v20.1.8 hooks: - id: clang-format exclude: \.ipynb$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.12.10 hooks: - id: ruff args: [--fix-only, --show-fixes] From 9583eba440dfc7e12b27fcfb234d978512584690 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:58:04 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/geant4_python_application/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/geant4_python_application/__init__.py b/src/geant4_python_application/__init__.py index 9840895..a6d16ad 100644 --- a/src/geant4_python_application/__init__.py +++ b/src/geant4_python_application/__init__.py @@ -19,16 +19,16 @@ __version__tuple__ = version_tuple __all__ = [ + "Application", + "Detector", "__version__", "__version__tuple__", - "geant4_version", + "application_directory", "awkward_version", - "pybind11_version", - "version", - "Application", - "Detector", "basic_gdml", - "install_datasets", "data_directory", - "application_directory", + "geant4_version", + "install_datasets", + "pybind11_version", + "version", ]