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 Dec 11, 2024
1 parent 653fd80 commit 655df17
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 655df17

Please sign in to comment.