Skip to content

Commit

Permalink
MNT: 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 da4ef9e commit fd43a82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mriqc/bin/fs2gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def main():
)
tclfp.write(' SetSlice $slice\n')
tclfp.write(' RedrawScreen\n')
tclfp.write(f' SaveTIFF [format "{tmp_sub}/{subid}-' '%03d.tif" $i]\n')
tclfp.write(f' SaveTIFF [format "{tmp_sub}/{subid}-%03d.tif" $i]\n')
tclfp.write(' incr i\n')
tclfp.write('}\n')
tclfp.write('QuitMedit\n')
Expand Down
2 changes: 1 addition & 1 deletion mriqc/interfaces/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _run_interface(self, runtime):
self._out_dict.update(val)
else:
config.loggers.interface.warning(
'Output "%s" is not a dictionary (value="%s"), ' 'discarding output.',
'Output "%s" is not a dictionary (value="%s"), discarding output.',
root_key,
str(val),
)
Expand Down
4 changes: 2 additions & 2 deletions mriqc/interfaces/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def _build_timeseries_metadata():
),
},
'dvars_nstd': {
'LongName': ('Derivative of RMS Variance over Voxels,' 'Non-Standardized'),
'LongName': ('Derivative of RMS Variance over Voxels, Non-Standardized'),
'Description': (
'Indexes the rate of change of BOLD signal across'
'the entire brain at each frame of data, not normalized.'
Expand Down Expand Up @@ -462,7 +462,7 @@ def _build_timeseries_metadata():
'aor': {
'LongName': "AFNI's Fraction of Outliers per Volume",
'Description': (
'Mean fraction of outliers per fMRI volume as' "given by AFNI's 3dToutcount"
"Mean fraction of outliers per fMRI volume as given by AFNI's 3dToutcount"
),
},
}
Expand Down

0 comments on commit fd43a82

Please sign in to comment.