Skip to content

Commit ab64f37

Browse files
STY: Apply ruff/flake8-implicit-str-concat rule ISC001
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 64b26e1 commit ab64f37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nibabel/streamlines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def save(tractogram, filename, **kwargs):
131131
warnings.warn(msg, ExtensionWarning)
132132

133133
if kwargs:
134-
msg = "A 'TractogramFile' object was provided, no need for" ' keyword arguments.'
134+
msg = "A 'TractogramFile' object was provided, no need for keyword arguments."
135135
raise ValueError(msg)
136136

137137
tractogram_file.save(filename)

nibabel/volumeutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def array_from_file(
441441
True
442442
"""
443443
if mmap not in (True, False, 'c', 'r', 'r+'):
444-
raise ValueError("mmap value should be one of True, False, 'c', " "'r', 'r+'")
444+
raise ValueError("mmap value should be one of True, False, 'c', 'r', 'r+'")
445445
in_dtype = np.dtype(in_dtype)
446446
# Get file-like object from Opener instance
447447
infile = getattr(infile, 'fobj', infile)

0 commit comments

Comments
 (0)