Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 4, 2023
1 parent 7eec913 commit c498d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rdflib/plugins/parsers/trig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c498d99

Please sign in to comment.