Fix black linting

environments/review-docs-devel-1399dq/deployments/12490
Georg Krause 2022-07-15 09:49:37 +02:00
rodzic 05b0dded7c
commit 3d825cd170
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2970D504B2183D22
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -124,7 +124,7 @@ black:
before_script:
- pip install black
script:
- black --check --diff api/
- black --check --diff .
only:
refs:
- branches

Wyświetl plik

@ -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