Skip to content

Commit 47dd062

Browse files
committed
Remove whitespace and satisfy linter
1 parent f4e6567 commit 47dd062

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
@@ -3728,7 +3728,7 @@ def _list_to_rdf(self, list_: list, issuer: IdentifierIssuer, triples, rdf_direc
37283728

37293729
return result
37303730

3731-
3731+
37323732
def _rdflib_term_from_id(self, id_: str) -> BNode | URIRef:
37333733
"""
37343734
Converts a JSON-LD @id value to an RDFLib term.
@@ -3780,7 +3780,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
37803780
elif _is_double(value):
37813781
return Literal(
37823782
# use the canonical double representation
3783-
_canonicalize_double(value),
3783+
_canonicalize_double(value),
37843784
# add the double datatype if none is given
37853785
datatype=URIRef(datatype) if datatype else XSD.double,
37863786
normalize=False)
@@ -3796,7 +3796,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
37963796
else:
37973797
return Literal(
37983798
# we have a float, and canonicalization may proceed.
3799-
_canonicalize_double(float_value),
3799+
_canonicalize_double(float_value),
38003800
datatype=XSD.double, normalize=False
38013801
)
38023802
elif _is_integer(value):
@@ -3818,7 +3818,7 @@ def _object_to_rdf(self, item, issuer, triples, rdf_direction):
38183818
value,
38193819
lang=item['@language'],
38203820
datatype=None,
3821-
normalize=False,
3821+
normalize=False,
38223822
)
38233823
return Literal(
38243824
value,

0 commit comments

Comments
 (0)