diff --git a/rdflib/plugins/parsers/trig.py b/rdflib/plugins/parsers/trig.py index 460c712e1..770265df8 100644 --- a/rdflib/plugins/parsers/trig.py +++ b/rdflib/plugins/parsers/trig.py @@ -105,8 +105,7 @@ def graph(self, argstr: str, i: int) -> int: # type error: Incompatible types in assignment (expression has type "Graph", variable has type "Optional[Formula]") self._context = self._store.newGraph(graph) # type: ignore[assignment] if self._context is not None and self._parentContext is not None: - raise SyntaxError("GRAPH may not include a GRAPH " - "(#trig-graph-bad-07)") + raise SyntaxError("GRAPH may not include a GRAPH " "(#trig-graph-bad-07)") while 1: i = self.skipSpace(argstr, j)