8000 STY: Apply ruff/Pyflakes rules (F) by DimitriPapadopoulos · Pull Request #3681 · nipy/nipype · GitHub
[go: up one dir, main page]

Skip to content

STY: Apply ruff/Pyflakes rules (F) #3681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
STY: Apply ruff/Pyflakes rule F901
F901 `raise NotImplemented` should be `raise NotImplementedError`
  • Loading branch information
DimitriPapadopoulos committed Oct 6, 2024
commit cb889bf15fa7601f21d4dd6b59e19b40fcdabc66
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 @@
+ ".xfm"
)
else:
raise NotImplemented
raise NotImplementedError

Check warning on line 3406 in nipype/interfaces/minc/minc.py

View check run for this annotation

Codecov / codecov/patch

nipype/interfaces/minc/minc.py#L3406

Added line #L3406 was not covered by tests

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

Check warning on line 3505 in nipype/interfaces/minc/minc.py

View check run for this annotation

Codecov / codecov/patch

nipype/interfaces/minc/minc.py#L3505

Added line #L3505 was not covered by tests

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

Check warning on line 3576 in nipype/interfaces/minc/minc.py

View check run for this annotation

Codecov / codecov/patch

nipype/interfaces/minc/minc.py#L3576

Added line #L3576 was not covered by tests

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