Skip to content

Commit 97c94d4

Browse files
STY: Apply ruff rule RUF010
RUF010 Use explicit conversion flag
1 parent 5a3779c commit 97c94d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/cli/tests/test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def test_derivatives(tmp_path):
254254
# Providing --derivatives with names should use them
255255
temp_args = args + [
256256
'--derivatives',
257-
f'anat={str(bids_path / "derivatives/smriprep")}',
257+
f'anat={bids_path / "derivatives/smriprep"}',
258258
]
259259
opts = parser.parse_args(temp_args)
260260
assert opts.derivatives == {'anat': bids_path / 'derivatives/smriprep'}

0 commit comments

Comments
 (0)