style: format code using black v23

This commit is contained in:
jo 2023-03-28 19:34:19 +02:00
commit 22c255700e
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
46 changed files with 8 additions and 67 deletions

View file

@ -154,7 +154,6 @@ def dereference(value, references):
def get_value(value, keep=None, attr=None):
if keep == "first":
value = value[0]
if attr:
@ -253,7 +252,6 @@ class JsonLdSerializer(serializers.Serializer):
def run_validation(self, data=empty):
if data and data is not empty:
self.jsonld_context = data.get("@context", [])
if self.context.get("expand", self.jsonld_expand):
try: