Skip to content

Commit

Permalink
Merge pull request #247 from SpikeInterface/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
alejoe91 authored Jan 31, 2024
2 parents 2cdf024 + d01b1fd commit e4f36a1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
files: ^src/
1 change: 1 addition & 0 deletions src/probeinterface/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This module contains useful helper functions for generating probes.
"""

from __future__ import annotations
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions src/probeinterface/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Neurodata Without Borders (.nwb)
"""

from __future__ import annotations
from pathlib import Path
from typing import Union, Optional
Expand Down
1 change: 1 addition & 0 deletions src/probeinterface/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
The gin platform enables contributions from users.
"""

from __future__ import annotations
import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/probeinterface/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Depending on Probe.ndim, the plotting is done in 2D or 3D
"""

from __future__ import annotations
import numpy as np
from matplotlib import path as mpl_path
Expand Down
1 change: 1 addition & 0 deletions src/probeinterface/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Some utility functions
"""

from __future__ import annotations
from importlib import import_module
from types import ModuleType
Expand Down
1 change: 1 addition & 0 deletions src/probeinterface/wiring.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Automatically set the `Probe.device_channel_indices` field.
"""

from __future__ import annotations
import numpy as np

Expand Down

0 comments on commit e4f36a1

Please sign in to comment.