From 58fbf885e28effb91ee8fc5b4096c94dc326f16f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 31 Oct 2024 21:29:40 +0100 Subject: [PATCH] Apply ruff/flake8-implicit-str-concat rule ISC001 ISC001 Implicitly concatenated string literals on one line --- .maint/update_authors.py | 4 ++-- nireports/interfaces/nuisance.py | 2 +- nireports/interfaces/reporting/segmentation.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.maint/update_authors.py b/.maint/update_authors.py index 3b8658e1..15266b71 100755 --- a/.maint/update_authors.py +++ b/.maint/update_authors.py @@ -188,7 +188,7 @@ def zenodo( misses = set(miss_creators).intersection(miss_contributors) if misses: print( - "Some people made commits, but are missing in .maint/ " f"files: {', '.join(misses)}", + f"Some people made commits, but are missing in .maint/ files: {', '.join(misses)}", file=sys.stderr, ) @@ -268,7 +268,7 @@ def _aslist(value): if misses: print( - "Some people made commits, but are missing in .maint/ " f"files: {', '.join(misses)}", + f"Some people made commits, but are missing in .maint/ files: {', '.join(misses)}", file=sys.stderr, ) diff --git a/nireports/interfaces/nuisance.py b/nireports/interfaces/nuisance.py index bbb032b1..47f27a46 100644 --- a/nireports/interfaces/nuisance.py +++ b/nireports/interfaces/nuisance.py @@ -109,7 +109,7 @@ class _ConfoundsCorrelationPlotInputSpec(BaseInterfaceInputSpec): ignore_initial_volumes = traits.Int( 0, usedefault=True, - desc="Number of non-steady-state volumes at the beginning of the scan " "to ignore.", + desc="Number of non-steady-state volumes at the beginning of the scan to ignore.", ) diff --git a/nireports/interfaces/reporting/segmentation.py b/nireports/interfaces/reporting/segmentation.py index bcff725f..fe0365cc 100644 --- a/nireports/interfaces/reporting/segmentation.py +++ b/nireports/interfaces/reporting/segmentation.py @@ -111,7 +111,7 @@ class _MELODICInputSpecRPT(nrb._SVGReportCapableInputSpec, fsl.model.MELODICInpu out_report = File( "melodic_reportlet.svg", usedefault=True, - desc="Filename for the visual" " report generated " "by Nipype.", + desc="Filename for the visual report generated by Nipype.", ) report_mask = File( desc="Mask used to draw the outline on the reportlet. " @@ -187,7 +187,7 @@ class _ICA_AROMAInputSpecRPT(nrb._SVGReportCapableInputSpec, fsl.aroma.ICA_AROMA out_report = File( "ica_aroma_reportlet.svg", usedefault=True, - desc="Filename for the visual" " report generated " "by Nipype.", + desc="Filename for the visual report generated by Nipype.", ) report_mask = File( desc="Mask used to draw the outline on the reportlet. "