Skip to content

Commit 809f811

Browse files
STY: Apply ruff/flake8-implicit-str-concat rule ISC001
ISC001 Implicitly concatenated string literals on one line
1 parent 4d1352a commit 809f811

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

nipype/algorithms/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,13 @@ def _run_interface(self, runtime):
478478

479479
if np.any(refdata > 1.0):
480480
iflogger.warning(
481-
'Values greater than 1.0 found in "in_ref" input, ' "scaling values."
481+
'Values greater than 1.0 found in "in_ref" input, scaling values.'
482482
)
483483
refdata /= refdata.max()
484484

485485
if np.any(tstdata > 1.0):
486486
iflogger.warning(
487-
'Values greater than 1.0 found in "in_tst" input, ' "scaling values."
487+
'Values greater than 1.0 found in "in_tst" input, scaling values.'
488488
)
489489
tstdata /= tstdata.max()
490490

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def _run_interface(self, runtime):
668668

669669
if isdefined(self.inputs.row_headings):
670670
iflogger.info(
671-
'Row headings have been provided. Adding "labels"' "column header."
671+
'Row headings have been provided. Adding "labels" column header.'
672672
)
673673
prefix = f'"{self.inputs.row_heading_title}","'
674674
csv_headings = prefix + '","'.join(itertools.chain(headings)) + '"\n'

nipype/interfaces/camino/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ImageStatsInputSpec(CommandLineInputSpec):
4646
"double",
4747
argstr="-outputdatatype %s",
4848
usedefault=True,
49-
desc=('A Camino data type string, default is "float". ' "Type must be signed."),
49+
desc=('A Camino data type string, default is "float". Type must be signed.'),
5050
)
5151
output_root = File(
5252
argstr="-outputroot %s",

nipype/interfaces/fsl/dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ class ProbTrackX2InputSpec(ProbTrackXBaseInputSpec):
941941
"OR",
942942
"AND",
943943
argstr="--waycond=%s",
944-
desc=('Waypoint condition. Either "AND" (default) ' 'or "OR"'),
944+
desc=('Waypoint condition. Either "AND" (default) or "OR"'),
945945
)
946946
wayorder = traits.Bool(
947947
desc=(

nipype/pipeline/engine/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def clone(self, name):
8787
8888
"""
8989
if name == self.name:
90-
raise ValueError('Cloning requires a new name, "%s" is ' "in use." % name)
90+
raise ValueError('Cloning requires a new name, "%s" is in use.' % name)
9191
clone = deepcopy(self)
9292
clone.name = name
9393
if hasattr(clone, "_id"):

nipype/pipeline/engine/workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ def _get_dot(
10491049
else:
10501050
if colored:
10511051
dotlist.append(
1052-
('%s[label="%s", style=filled,' ' fillcolor="%s"];')
1052+
('%s[label="%s", style=filled, fillcolor="%s"];')
10531053
% (nodename, node_class_name, colorset[level])
10541054
)
10551055
else:

tools/gitwash_dumper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def make_link_targets(
129129
have_gh_url = True
130130
if not have_url or not have_ml_url:
131131
raise RuntimeError(
132-
"Need command line or known project " "and / or mailing list URLs"
132+
"Need command line or known project and / or mailing list URLs"
133133
)
134134
lines = []
135135
if url is not None:

0 commit comments

Comments
 (0)