diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e4a9d8c..e59c030a 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/ diff --git a/src/probeinterface/generator.py b/src/probeinterface/generator.py index e704ea6c..a9be26b3 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 24722069..47a9a434 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 0e0a5bb4..b2a1169e 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 9fdf5f85..151e0747 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 754a3388..9a69d3b5 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 6cff88d6..99770a35 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 e4c3cd1b..9e914a1a 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"