Skip to content

Commit a9f00d5

Browse files
STY: Apply ruff/flake8-implicit-str-concat rule ISC001 (#870)
ISC001 Implicitly concatenated string literals on one line This rule is currently disabled because it conflicts with the formatter: astral-sh/ruff#8272
1 parent 830b4fc commit a9f00d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

niworkflows/interfaces/nibabel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _run_interface(self, runtime):
234234
continue
235235
else:
236236
raise ValueError(
237-
"Input image has an incorrect number of dimensions" f" ({ndim})."
237+
f"Input image has an incorrect number of dimensions ({ndim})."
238238
)
239239

240240
img_4d = nb.concat_images(

niworkflows/viz/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def plot_melodic_components(
566566
tr = tr / 1000000.0
567567
elif units[-1] != "sec":
568568
NIWORKFLOWS_LOG.warning(
569-
"Unknown repetition time units " "specified - assuming seconds"
569+
"Unknown repetition time units specified - assuming seconds"
570570
)
571571
else:
572572
NIWORKFLOWS_LOG.warning(

0 commit comments

Comments
 (0)