From 2ed3bc4bf5be468d27ce963a4cca0d1154d2947b Mon Sep 17 00:00:00 2001 From: SebastianGode Date: Tue, 20 Jun 2023 10:38:47 +0200 Subject: [PATCH] Fix pep8 --- otc_metadata/services.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/otc_metadata/services.py b/otc_metadata/services.py index 95c2492f..5c7111f1 100644 --- a/otc_metadata/services.py +++ b/otc_metadata/services.py @@ -143,7 +143,9 @@ class Services(object): "type": doc["type"], "title": doc["title"] } - type_exists = any(doc_dict["type"] == new_doc["type"] for doc_dict in docs) + type_exists = any( + doc_dict["type"] == new_doc["type"] for doc_dict in docs + ) if not type_exists: docs.append(new_doc)