Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 422ce65

Browse files
STY: Apply ruff/pyupgrade rule UP008
UP008 Use `super()` instead of `super(__class__, self)`
1 parent 186d26d commit 422ce65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎nipype/interfaces/fsl/model.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ class FILMGLS(FSLCommand):
818818
input_spec = FILMGLSInputSpec505
819819

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /