diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d88bb04a..bc163ae3b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,7 +124,7 @@ black: before_script: - pip install black script: - - black --check --diff api/ + - black --check --diff . only: refs: - branches diff --git a/api/funkwhale_api/federation/utils.py b/api/funkwhale_api/federation/utils.py index d04d639aa..9dce78246 100644 --- a/api/funkwhale_api/federation/utils.py +++ b/api/funkwhale_api/federation/utils.py @@ -67,7 +67,11 @@ def slugify_username(username): def retrieve_ap_object( - fid, actor, serializer_class=None, queryset=None, apply_instance_policies=True, + fid, + actor, + serializer_class=None, + queryset=None, + apply_instance_policies=True, ): # we have a duplicate check here because it's less expensive to do those checks # twice than to trigger a HTTP request