From d7f8e7954532ae37ffe0444ae386eb3ab251e8c6 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Tue, 21 Sep 2021 11:07:06 +0200 Subject: [PATCH 42/59] misc: fix comparison-with-callable pylint error (#56982) --- src/authentic2/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authentic2/views.py b/src/authentic2/views.py index 1052b7c6..8194b41e 100644 --- a/src/authentic2/views.py +++ b/src/authentic2/views.py @@ -1243,6 +1243,7 @@ class RegistrationCompletionView(CreateView): if attribute.name not in data: continue kind = attribute.get_kind() + # pylint: disable=comparison-with-callable if kind['serialize'] == attribute_kinds.identity: continue data[attribute.name] = kind['serialize'](data[attribute.name]) -- 2.30.2