Skip to content

Commit ab4304a

Browse files
STY: Apply ruff rule RUF022
RUF022 `__all__` is not sorted
1 parent e7b572e commit ab4304a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

niworkflows/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616

1717
__all__ = [
18-
'__version__',
19-
'__packagename__',
18+
'NIWORKFLOWS_LOG',
2019
'__copyright__',
2120
'__credits__',
22-
'NIWORKFLOWS_LOG',
21+
'__packagename__',
22+
'__version__',
2323
'load_resource',
2424
]
2525

niworkflows/interfaces/nilearn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
NILEARN_VERSION = 'unknown'
4848

4949
LOGGER = logging.getLogger('nipype.interface')
50-
__all__ = ['NILEARN_VERSION', 'MaskEPI', 'Merge', 'ComputeEPIMask']
50+
__all__ = ['NILEARN_VERSION', 'ComputeEPIMask', 'MaskEPI', 'Merge']
5151

5252

5353
class _MaskEPIInputSpec(BaseInterfaceInputSpec):

niworkflows/utils/misc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
import warnings
2929

3030
__all__ = [
31-
'get_template_specs',
32-
'fix_multi_T1w_source_name',
31+
'_copy_any',
3332
'add_suffix',
33+
'clean_directory',
34+
'fix_multi_T1w_source_name',
35+
'get_template_specs',
3436
'read_crashfile',
3537
'splitext',
36-
'_copy_any',
37-
'clean_directory',
3838
]
3939

4040

niworkflows/viz/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
warnings.warn(msg, PendingDeprecationWarning, stacklevel=2)
1313

14-
__all__ = ['plot_carpet', 'SVGNS']
14+
__all__ = ['SVGNS', 'plot_carpet']

0 commit comments

Comments
 (0)