Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2024
1 parent 62b902e commit 035c892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/squidpy/im/_feature_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,15 @@ def _get_channels(xr_img: NDArrayA | xr.DataArray, channels: Channel_t | None) -
class HasGetItemProtocol(Protocol):
"""Protocol for FeatureMixin to have correct definition of ImageContainer."""

def __getitem__(self, key: str) -> xr.DataArray:
...
def __getitem__(self, key: str) -> xr.DataArray: ...

@property
def data(self) -> xr.Dataset: # noqa: D102
...

def _get_layer(self, layer: str | None) -> str:
...
def _get_layer(self, layer: str | None) -> str: ...

def _get_library_id(self, library_id: str | None) -> str:
...
def _get_library_id(self, library_id: str | None) -> str: ...


class FeatureMixin:
Expand Down
2 changes: 1 addition & 1 deletion tests/datasets/test_download_visium_dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""""
""" "
Tests to make sure the Visium example datasets load.
"""

Expand Down

0 comments on commit 035c892

Please sign in to comment.