Skip to content

Commit 648ff5b

Browse files
STY: Apply ruff rule RUF023
RUF023 `.__slots__` is not sorted
1 parent ab4304a commit 648ff5b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

niworkflows/utils/spaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ class SpatialReferences:
464464
465465
"""
466466

467-
__slots__ = ('_refs', '_cached')
467+
__slots__ = ('_cached', '_refs')
468468
standard_spaces = tuple(_tfapi.templates())
469469
"""List of supported standard reference spaces."""
470470

niworkflows/viz/plots.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ class fMRIPlot:
3939
"""Generates the fMRI Summary Plot."""
4040

4141
__slots__ = (
42-
'timeseries',
43-
'segments',
44-
'tr',
4542
'confounds',
46-
'spikes',
4743
'nskip',
48-
'sort_carpet',
4944
'paired_carpet',
45+
'segments',
46+
'sort_carpet',
47+
'spikes',
48+
'timeseries',
49+
'tr',
5050
)
5151

5252
def __init__(

0 commit comments

Comments
 (0)