From 78754e5906d2405df1288ba3c3d168e955e21342 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:58:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- funnel/views/account.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/funnel/views/account.py b/funnel/views/account.py index 53c54e715..28b60e43b 100644 --- a/funnel/views/account.py +++ b/funnel/views/account.py @@ -54,9 +54,9 @@ AuthClient, LoginSession, Organization, + Project, db, sa, - Project, ) from ..registry import login_registry from ..signals import user_data_changed @@ -180,8 +180,8 @@ def organizations_as_member( ) -> list[RoleAccessProxy]: """Return organizations that the user has a membership in""" featured_accounts = Account.query.filter( - Account.name_in(app.config['FEATURED_ACCOUNTS']) - ).all() + Account.name_in(app.config['FEATURED_ACCOUNTS']) + ).all() org_as_members = [] for org in featured_accounts: membership_project = org.projects.filter(