From 3e6e322af7c1cd0f8f829f998eff172d7b5268e1 Mon Sep 17 00:00:00 2001 From: aw Date: Tue, 15 Oct 2024 12:33:37 +0200 Subject: [PATCH] codacy issues Signed-off-by: aw --- ev-dev-tools/src/ev_cli/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ev-dev-tools/src/ev_cli/helpers.py b/ev-dev-tools/src/ev_cli/helpers.py index caed67f..3bb925f 100644 --- a/ev-dev-tools/src/ev_cli/helpers.py +++ b/ev-dev-tools/src/ev_cli/helpers.py @@ -680,10 +680,10 @@ def is_template_newer(file_info) -> Tuple[bool, str]: generated_path = file_info['path'] if not generated_path.exists(): - return (True, f' (Generated file did not exist)') + return (True, ' (Generated file did not exist)') if get_mtime(template_path) > get_mtime(generated_path): - return (True, f' (Template file has changed since last generation)') + return (True, ' (Template file has changed since last generation)') return (False, '')