From a75a5039b62161f83be893a4e353ebbd2008dd5a Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Fri, 14 Feb 2025 14:27:30 +0100
Subject: [PATCH] tests: Fix flake8 warning

---
 swh/loader/tests/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swh/loader/tests/__init__.py b/swh/loader/tests/__init__.py
index a7085aed..4ba197d7 100644
--- a/swh/loader/tests/__init__.py
+++ b/swh/loader/tests/__init__.py
@@ -342,7 +342,7 @@ def assert_task_and_visit_type_match(tasks_module_name: str) -> None:
         visit_type = loader_cls.visit_type
         task_function_name = f"load_{visit_type.replace('-', '_')}"
         assert task_function_name in task_names, (
-            f"task function {task_function_name} for visit type {visit_type } "
+            f"task function {task_function_name} for visit type {visit_type} "
             f"is missing in {tasks_module_name}"
         )
 
-- 
GitLab