From 47ec680d139ac3d3795a923ffc4de3bde5257f9e Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 22 Sep 2024 11:09:07 +0200 Subject: [PATCH] STY: Apply ruff/flake8-bugbear rule B015 B015 Pointless comparison at end of function scope. Did you mean to return the expression result? --- nipype/tests/test_nipype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/tests/test_nipype.py b/nipype/tests/test_nipype.py index 3f103b5529..128adbfa3a 100644 --- a/nipype/tests/test_nipype.py +++ b/nipype/tests/test_nipype.py @@ -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"] def _check_no_et():