Closed qtfkwk closed 2 years ago
I would actually prefer a
... else: raise InvalidQueryError(rule) ...
or am I missing something 🤔 that way you would still raise the exception in case of a missing semicolon
@XHPJ it should be if rule[-1:] != "": rise InvalidQueryError(rule)
This one will cover th case of a missing semicolon and not rise exceptions when there is nothing else to parse.
I would actually prefer a
or am I missing something 🤔 that way you would still raise the exception in case of a missing semicolon