Skip to content

Commit

Permalink
STY: Apply ruff/pyupgrade rule UP008
Browse files Browse the repository at this point in the history
UP008 Use `super()` instead of `super(__class__, self)`
  • Loading branch information
DimitriPapadopoulos committed Oct 9, 2024
1 parent b063c21 commit e978c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/interfaces/fsl/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ class FILMGLS(FSLCommand):
input_spec = FILMGLSInputSpec505

def __init__(self, **inputs):
super(FILMGLS, self).__init__(**inputs)
super().__init__(**inputs)
if Info.version() and LooseVersion(Info.version()) > LooseVersion("5.0.6"):
if "output_type" not in inputs:
if isdefined(self.inputs.mode) and self.inputs.mode == "surface":
Expand Down

0 comments on commit e978c17

Please sign in to comment.