From aabf7b3eac2fd4558ca51162ad1867e29e5057d5 Mon Sep 17 00:00:00 2001 From: Bouwe Andela Date: Thu, 26 Sep 2024 21:58:54 +0200 Subject: [PATCH] Fix style issue --- esmvalcore/preprocessor/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esmvalcore/preprocessor/__init__.py b/esmvalcore/preprocessor/__init__.py index c5d533ba31..6c7b11c4f3 100644 --- a/esmvalcore/preprocessor/__init__.py +++ b/esmvalcore/preprocessor/__init__.py @@ -303,7 +303,7 @@ def check_preprocessor_settings(settings): signature.bind(None, **settings[step]) except TypeError: logger.error( - "Wrong preprocessor function arguments in " "function '%s'", + "Wrong preprocessor function arguments in function '%s'", step, ) raise @@ -354,7 +354,7 @@ def _run_preproc_function(function, items, kwargs, input_files=None): file_msg = "" else: file_msg = ( - f"\nloaded from original input file(s)\n" f"{pformat(input_files)}" + f"\nloaded from original input file(s)\n{pformat(input_files)}" ) logger.debug( "Running preprocessor function '%s' on the data\n%s%s\nwith function "