Skip to content

Commit 6a192d1

Browse files
LucaMarconatoclaude
andcommitted
Fix ruff pre-commit violations in spatial_query.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 11776f3 commit 6a192d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/spatialdata/_core/query/spatial_query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def _get_case_of_bounding_box_query(
322322

323323

324324
def _is_scaling_transform(m_linear: np.ndarray) -> bool:
325-
"""True when the linear part is a diagonal (pure scaling) matrix."""
325+
"""Check if the linear part is a diagonal (pure scaling) matrix."""
326326
return np.allclose(m_linear, np.diag(np.diagonal(m_linear)))
327327

328328

@@ -411,8 +411,8 @@ def _bounding_box_mask_points(
411411
Shape: (n_boxes, n_axes) or (n_axes,) for a single box.
412412
{max_coordinate_docs}
413413
points_df
414-
A pre-computed pandas dataframe. Useful if the points_df has already been materialized, otherwise the methods simply
415-
calls .compute() on the dask data frame
414+
A pre-computed pandas dataframe. Useful if the points_df has already been materialized, otherwise the
415+
methods simply calls .compute() on the dask data frame
416416
417417
Returns
418418
-------

0 commit comments

Comments
 (0)