Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.2
rev: v0.11.6
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/spatialexperiment/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _validate_spatial_coords(spatial_coords, column_data):
return

if not hasattr(spatial_coords, "shape"):
raise TypeError("Spatial coordinates must be a dataframe-like object." "Does not contain a `shape` property.")
raise TypeError("Spatial coordinates must be a dataframe-like object.Does not contain a `shape` property.")

if column_data.shape[0] != spatial_coords.shape[0]:
raise ValueError("'spatial_coords' do not contain coordinates for all cells.")
Expand Down