From 5352259ab9d9c214e1cba3f97bb0994b9aa79b19 Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Fri, 26 Jul 2024 13:26:38 +0200 Subject: [PATCH] code lint --- src/iosanita/contenttypes/restapi/deserializers/dxcontent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iosanita/contenttypes/restapi/deserializers/dxcontent.py b/src/iosanita/contenttypes/restapi/deserializers/dxcontent.py index 34f06e5..bdb5353 100644 --- a/src/iosanita/contenttypes/restapi/deserializers/dxcontent.py +++ b/src/iosanita/contenttypes/restapi/deserializers/dxcontent.py @@ -43,7 +43,7 @@ def validate_a_chi_si_rivolge(self, data, create): if not create: if ( "a_chi_si_rivolge" not in data - and "a_chi_si_rivolge_tassonomia" not in data + and "a_chi_si_rivolge_tassonomia" not in data # noqa ): return a_chi_si_rivolge = data.get("a_chi_si_rivolge", {}) @@ -68,7 +68,7 @@ def validate_event(self, data, create): if not create: if ( "organizzato_da_esterno" not in data - and "organizzato_da_interno" not in data + and "organizzato_da_interno" not in data # noqa ): return