Skip to content

Commit 069deec

Browse files
committed
Remove whitespace and satisfy linter
1 parent 6d17e8e commit 069deec

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/pyld/jsonld.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,7 +3716,7 @@ def _list_to_rdf(self, list_: list, issuer: IdentifierIssuer, triples, rdf_direc
37163716

37173717
return result
37183718

3719-
3719+
37203720
def _rdflib_term_from_id(self, id_: str) -> BNode | URIRef:
37213721
"""
37223722
Converts a JSON-LD @id value to an RDFLib term.
@@ -3768,7 +3768,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
37683768
elif _is_double(value):
37693769
return Literal(
37703770
# use the canonical double representation
3771-
_canonicalize_double(value),
3771+
_canonicalize_double(value),
37723772
# add the double datatype if none is given
37733773
datatype=URIRef(datatype) if datatype else XSD.double,
37743774
normalize=False)
@@ -3784,7 +3784,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
37843784
else:
37853785
return Literal(
37863786
# we have a float, and canonicalization may proceed.
3787-
_canonicalize_double(float_value),
3787+
_canonicalize_double(float_value),
37883788
datatype=XSD.double, normalize=False
37893789
)
37903790
elif _is_integer(value):
@@ -3806,7 +3806,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
38063806
value,
38073807
lang=item['@language'],
38083808
datatype=None,
3809-
normalize=False,
3809+
normalize=False,
38103810
)
38113811
return Literal(
38123812
value,

0 commit comments

Comments
 (0)