Skip to content

Commit d8f49ec

Browse files
[pre-commit.ci] pre-commit autoupdate (#4332)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7399610 commit d8f49ec

59 files changed

Lines changed: 13 additions & 97 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 25.12.0
9+
rev: 26.1.0
1010
hooks:
1111
- id: black
1212
files: ^src/

src/spikeinterface/benchmark/benchmark_sorter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from spikeinterface.sorters import run_sorter
99
from spikeinterface.comparison import compare_sorter_to_ground_truth
1010

11-
1211
# TODO later integrate CollisionGTComparison optionally in this class.
1312

1413

src/spikeinterface/benchmark/benchmark_sorter_without_gt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
from spikeinterface.benchmark import analyse_residual
1212

13-
1413
# TODO later integrate CollisionGTComparison optionally in this class.
1514

1615

src/spikeinterface/benchmark/tests/test_residual_analysis.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from spikeinterface.benchmark import analyse_residual
99

10-
1110
job_kwargs = dict(n_jobs=-1, progress_bar=True)
1211

1312

src/spikeinterface/comparison/tests/test_multisortingcomparison.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from spikeinterface.extractors import NumpySorting
1010
from spikeinterface.comparison import compare_multiple_sorters, MultiSortingComparison
1111

12-
1312
ON_GITHUB = bool(os.getenv("GITHUB_ACTIONS"))
1413

1514

src/spikeinterface/comparison/tests/test_templatecomparison.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from spikeinterface.core import create_sorting_analyzer, generate_ground_truth_recording
66
from spikeinterface.comparison import compare_templates, compare_multiple_templates
77

8-
98
# def setup_module():
109
# if test_dir.is_dir():
1110
# shutil.rmtree(test_dir)

src/spikeinterface/core/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
)
2727
from .job_tools import _shared_job_kwargs_doc
2828

29-
3029
# base dtypes used throughout spikeinterface
3130
base_peak_dtype = [
3231
("sample_index", "int64"),

src/spikeinterface/core/job_tools.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import threading
1818
from threadpoolctl import threadpool_limits
1919

20-
2120
_shared_job_kwargs_doc = """**job_kwargs : keyword arguments for parallel processing:
2221
* chunk_duration or chunk_size or chunk_memory or total_memory
2322
- chunk_size : int

src/spikeinterface/core/loading.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from .base import BaseExtractor
77
from .core_tools import is_path_remote
88

9-
109
_error_msg = (
1110
"{file_path} is not a file or a folder. It should point to either a json, pickle file or a "
1211
"folder that is the result of extractor.save(...) or sortinganalyzer.save_as(...)"

src/spikeinterface/core/sparsity.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from .job_tools import _shared_job_kwargs_doc
1111
from .waveform_tools import estimate_templates_with_accumulator
1212

13-
1413
_sparsity_doc = """
1514
method : str
1615
* "best_channels" : N best channels with the largest amplitude. Use the "num_channels" argument to specify the

0 commit comments

Comments
 (0)