Skip to content

Commit

Permalink
STY: Apply ruff/Pyflakes rule F901
Browse files Browse the repository at this point in the history
F901 `raise NotImplemented` should be `raise NotImplementedError`
  • Loading branch information
DimitriPapadopoulos committed Oct 6, 2024
1 parent 48bae0e commit dc2b0ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nipype/interfaces/minc/minc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ def _gen_filename(self, name):
+ ".xfm"
)
else:
raise NotImplemented
raise NotImplementedError

def _list_outputs(self):
outputs = self.output_spec().get()
Expand Down Expand Up @@ -3502,7 +3502,7 @@ def _gen_filename(self, name):
+ ".xfm"
)
else:
raise NotImplemented
raise NotImplementedError

def _gen_outfilename(self):
return self._gen_filename("output_file")
Expand Down Expand Up @@ -3573,7 +3573,7 @@ def _gen_filename(self, name):
+ ".xfm"
)
else:
raise NotImplemented
raise NotImplementedError

def _gen_outfilename(self):
return self._gen_filename("output_file")
Expand Down

0 comments on commit dc2b0ed

Please sign in to comment.