Remove unused type ignores
@@ -206,7 +206,7 @@ class PrettyXMLSerializer(Serializer):
subject: IdentifiedNode
# Write out subjects that can not be inline
- for subject in store.subjects(): # type: ignore[assignment]
+ for subject in store.subjects():
if (None, None, subject) in store:
if (subject, None, subject) in store:
self.subject(subject, 1)
@@ -217,7 +217,7 @@ class PrettyXMLSerializer(Serializer):
# write out BNodes last (to ensure they can be inlined where possible)
bnodes = set()
- for subject in store.subjects(): # type: ignore[assignment]
+ for subject in store.subjects():
if isinstance(subject, BNode):
bnodes.add(subject)
continue
