Skip to content

Commit

Permalink
STY: Apply ruff rule RUF023
Browse files Browse the repository at this point in the history
RUF023 `__slots__` is not sorted
  • Loading branch information
DimitriPapadopoulos committed Nov 27, 2024
1 parent ac7c889 commit 3bb6f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nibabel/pointset.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def to_mask(self, shape=None) -> SpatialImage:
class GridIndices:
"""Class for generating indices just-in-time"""

__slots__ = ('gridshape', 'dtype', 'shape')
__slots__ = ('dtype', 'gridshape', 'shape')
ndim = 2

def __init__(self, shape, dtype=None):
Expand Down

0 comments on commit 3bb6f57

Please sign in to comment.