Skip to content

Commit 655df17

Browse files
STY: Apply ruff rule RUF023
RUF023 `__slots__` is not sorted
1 parent 653fd80 commit 655df17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/pointset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def to_mask(self, shape=None) -> SpatialImage:
178178
class GridIndices:
179179
"""Class for generating indices just-in-time"""
180180

181-
__slots__ = ('gridshape', 'dtype', 'shape')
181+
__slots__ = ('dtype', 'gridshape', 'shape')
182182
ndim = 2
183183

184184
def __init__(self, shape, dtype=None):

0 commit comments

Comments
 (0)