Fix black linting
This commit is contained in:
parent
05b0dded7c
commit
3d825cd170
|
@ -124,7 +124,7 @@ black:
|
||||||
before_script:
|
before_script:
|
||||||
- pip install black
|
- pip install black
|
||||||
script:
|
script:
|
||||||
- black --check --diff api/
|
- black --check --diff .
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- branches
|
- branches
|
||||||
|
|
|
@ -67,7 +67,11 @@ def slugify_username(username):
|
||||||
|
|
||||||
|
|
||||||
def retrieve_ap_object(
|
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
|
# we have a duplicate check here because it's less expensive to do those checks
|
||||||
# twice than to trigger a HTTP request
|
# twice than to trigger a HTTP request
|
||||||
|
|
Loading…
Reference in New Issue