From 14b6ddb058610ef12b2e31f2f38eccb87a229e3b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 21:12:32 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate 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) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.12.0) - [github.com/pycqa/docformatter: v1.7.6 → v1.7.7](https://github.com/pycqa/docformatter/compare/v1.7.6...v1.7.7) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.19.1) - [github.com/pycqa/flake8: 7.1.1 → 7.3.0](https://github.com/pycqa/flake8/compare/7.1.1...7.3.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e884a0ae5..96769b53f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,29 +2,29 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files -- repo: https://github.com/psf/black - rev: 24.10.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black args: [--safe, --line-length=100, --preview] language_version: python3 - repo: https://github.com/pycqa/docformatter - rev: v1.7.6 + rev: v1.7.7 hooks: - id: docformatter additional_dependencies: [tomli] args: [--config, pyproject.toml] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: [ @@ -33,7 +33,7 @@ repos: ] - repo: https://github.com/pycqa/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 From 1f141703a004e4903234cc226fedbc209acdedb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 21:12:50 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- strax/context.py | 1 - strax/dtypes.py | 1 - strax/utils.py | 1 - 3 files changed, 3 deletions(-) diff --git a/strax/context.py b/strax/context.py index 08217055e..623c2af4b 100644 --- a/strax/context.py +++ b/strax/context.py @@ -18,7 +18,6 @@ import strax from strax import CutList - export, __all__ = strax.exporter() __all__.extend(["RUN_DEFAULTS_KEY"]) diff --git a/strax/dtypes.py b/strax/dtypes.py index 67b5f5956..b27cd582f 100644 --- a/strax/dtypes.py +++ b/strax/dtypes.py @@ -12,7 +12,6 @@ import numba # noqa: F401 import strax - __all__ = ( "interval_dtype raw_record_dtype record_dtype hit_dtype peak_dtype " "DIGITAL_SUM_WAVEFORM_CHANNEL DEFAULT_RECORD_LENGTH " diff --git a/strax/utils.py b/strax/utils.py index f59fcf57e..60c583b1b 100644 --- a/strax/utils.py +++ b/strax/utils.py @@ -24,7 +24,6 @@ import deepdiff import copy - # Change numba's caching backend from pickle to dill # I'm sure they don't mind... # Otherwise we get strange errors while caching the @growing_result functions