Skip to content

Commit

Permalink
STY: Apply ruff/flake8-implicit-str-concat rule ISC001
Browse files Browse the repository at this point in the history
	ISC001 Implicitly concatenated string literals on one line

This rule is currently disabled because it conflicts with the formatter:
	astral-sh/ruff#8272
  • Loading branch information
DimitriPapadopoulos committed May 4, 2024
1 parent 830b4fc commit 6648e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion niworkflows/interfaces/nibabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _run_interface(self, runtime):
continue
else:
raise ValueError(
"Input image has an incorrect number of dimensions" f" ({ndim})."
f"Input image has an incorrect number of dimensions ({ndim})."
)

img_4d = nb.concat_images(
Expand Down
2 changes: 1 addition & 1 deletion niworkflows/viz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def plot_melodic_components(
tr = tr / 1000000.0
elif units[-1] != "sec":
NIWORKFLOWS_LOG.warning(
"Unknown repetition time units " "specified - assuming seconds"
"Unknown repetition time units specified - assuming seconds"
)
else:
NIWORKFLOWS_LOG.warning(
Expand Down

0 comments on commit 6648e2d

Please sign in to comment.