Skip to content

Commit

Permalink
STY: Apply ruff/flake8-bugbear rule B015
Browse files Browse the repository at this point in the history
B015 Pointless comparison at end of function scope.
     Did you mean to return the expression result?
  • Loading branch information
DimitriPapadopoulos committed Sep 22, 2024
1 parent abe1b59 commit 47ec680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/tests/test_nipype.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_nipype_info():
)
def test_git_hash():
# removing the first "g" from gitversion
get_nipype_gitversion()[1:] == get_info()["commit_hash"]
assert get_nipype_gitversion()[1:] == get_info()["commit_hash"]

Check warning on line 22 in nipype/tests/test_nipype.py

View check run for this annotation

Codecov / codecov/patch

nipype/tests/test_nipype.py#L22

Added line #L22 was not covered by tests


def _check_no_et():
Expand Down

0 comments on commit 47ec680

Please sign in to comment.