From b3a3852a5477ede3fbb065f32bcbbf337b3f1a0e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 6 May 2021 13:58:58 +0200 Subject: [PATCH] core: fix linting Signed-off-by: Jens Langhammer --- authentik/core/api/users.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/authentik/core/api/users.py b/authentik/core/api/users.py index ce17d2afa..a3f315678 100644 --- a/authentik/core/api/users.py +++ b/authentik/core/api/users.py @@ -110,10 +110,7 @@ class UsersFilter(FilterSet): method="filter_attributes", ) - is_superuser = BooleanFilter( - field_name="ak_groups", - lookup_expr="is_superuser" - ) + is_superuser = BooleanFilter(field_name="ak_groups", lookup_expr="is_superuser") # pylint: disable=unused-argument def filter_attributes(self, queryset, name, value):