diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e884a0ae..96769b53 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 diff --git a/strax/context.py b/strax/context.py index 08217055..623c2af4 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 67b5f595..b27cd582 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 f59fcf57..60c583b1 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