From 9edfa6a6b70e15630ffee984fafd163933161e4f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 17:37:53 +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/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.12.0...26.1.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e4a9d8..e59c030 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black files: ^src/|^tests/ From 3789107b2434d51ff06bd998b23b571f44c4c78a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 17:38:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/probeinterface/generator.py | 1 - src/probeinterface/neuropixels_tools.py | 1 - src/probeinterface/wiring.py | 1 - tests/test_io/test_3brain.py | 1 - tests/test_io/test_io.py | 1 - tests/test_io/test_spikegadgets.py | 1 - tests/test_library.py | 1 - 7 files changed, 7 deletions(-) diff --git a/src/probeinterface/generator.py b/src/probeinterface/generator.py index e704ea6..a9be26b 100644 --- a/src/probeinterface/generator.py +++ b/src/probeinterface/generator.py @@ -12,7 +12,6 @@ from .probegroup import ProbeGroup from .utils import combine_probes - _default_shape_to_params = {"circle": "radius", "square": "width", "rect": "height"} diff --git a/src/probeinterface/neuropixels_tools.py b/src/probeinterface/neuropixels_tools.py index 2472206..47a9a43 100644 --- a/src/probeinterface/neuropixels_tools.py +++ b/src/probeinterface/neuropixels_tools.py @@ -18,7 +18,6 @@ from .probe import Probe from .utils import import_safely - global _np_probe_features _np_probe_features = None diff --git a/src/probeinterface/wiring.py b/src/probeinterface/wiring.py index 0e0a5bb..b2a1169 100644 --- a/src/probeinterface/wiring.py +++ b/src/probeinterface/wiring.py @@ -5,7 +5,6 @@ from __future__ import annotations import numpy as np - # This code will not be formatted by Black # fmt: off pathways = { diff --git a/tests/test_io/test_3brain.py b/tests/test_io/test_3brain.py index 9fdf5f8..151e074 100644 --- a/tests/test_io/test_3brain.py +++ b/tests/test_io/test_3brain.py @@ -8,7 +8,6 @@ from probeinterface.testing import validate_probe_dict - data_path = Path(__file__).absolute().parent.parent / "data" / "3brain" brw_files = glob.glob(str(data_path / "*.brw")) diff --git a/tests/test_io/test_io.py b/tests/test_io/test_io.py index 754a338..9a69d3b 100644 --- a/tests/test_io/test_io.py +++ b/tests/test_io/test_io.py @@ -14,7 +14,6 @@ import pytest - data_path = Path(__file__).absolute().parent.parent / "data" diff --git a/tests/test_io/test_spikegadgets.py b/tests/test_io/test_spikegadgets.py index 6cff88d..99770a3 100644 --- a/tests/test_io/test_spikegadgets.py +++ b/tests/test_io/test_spikegadgets.py @@ -5,7 +5,6 @@ from probeinterface.io import parse_spikegadgets_header from probeinterface.testing import validate_probe_dict - data_path = Path(__file__).absolute().parent.parent / "data" / "spikegadgets" test_file = "SpikeGadgets_test_data_2xNpix1.0_20240318_173658_header_only.rec" diff --git a/tests/test_library.py b/tests/test_library.py index e4c3cd1..9e914a1 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -15,7 +15,6 @@ clear_cache, ) - manufacturer = "neuronexus" probe_name = "A1x32-Poly3-10mm-50-177"