Skip to content

Commit

Permalink
Merge pull request #3677 from DimitriPapadopoulos/RSE
Browse files Browse the repository at this point in the history
STY: Apply ruff/flake8-raise rules (RSE)
  • Loading branch information
effigies authored Oct 6, 2024
2 parents 0042aef + 4542e9f commit aeb988c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nipype/pipeline/plugins/tests/test_sgelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def crasher():
raise ValueError()
raise ValueError


def submit_batchtask(self, scriptfile, node):
Expand Down
2 changes: 1 addition & 1 deletion nipype/utils/tests/test_filemanip.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def __getstate__(self):

class PickledBreaker:
def __setstate__(self, d):
raise Exception()
raise Exception


def test_versioned_pklization(tmpdir):
Expand Down

0 comments on commit aeb988c

Please sign in to comment.