Skip to content

Commit a54b63a

Browse files
authored
removed unused #ignore comments in algebra.py (#2746)
Got an ``` error: Unused "type: ignore" comment [unused-ignore] ``` when running mypy. Removed those comments.
1 parent 7007dbe commit a54b63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rdflib/plugins/sparql/algebra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,8 @@ def convert_node_arg(
10071007
return node_arg.n3()
10081008
elif isinstance(node_arg, CompValue):
10091009
return "{" + node_arg.name + "}"
1010-
elif isinstance(node_arg, Expr): # type: ignore[unreachable]
1011-
return "{" + node_arg.name + "}" # type: ignore[unreachable]
1010+
elif isinstance(node_arg, Expr):
1011+
return "{" + node_arg.name + "}"
10121012
elif isinstance(node_arg, str):
10131013
return node_arg
10141014
else:

0 commit comments

Comments
 (0)