Skip to content

Commit adf037f

Browse files
STY: Apply ruff/pyupgrade rule UP008
UP008 Use `super()` instead of `super(__class__, self)`
1 parent 7b23137 commit adf037f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ class FILMGLS(FSLCommand):
819819
input_spec = FILMGLSInputSpec505
820820

821821
def __init__(self, **inputs):
822-
super(FILMGLS, self).__init__(**inputs)
822+
super().__init__(**inputs)
823823
if Info.version() and LooseVersion(Info.version()) > LooseVersion("5.0.6"):
824824
if "output_type" not in inputs:
825825
if isdefined(self.inputs.mode) and self.inputs.mode == "surface":

0 commit comments

Comments
 (0)