We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f13f2b commit 30a7cceCopy full SHA for 30a7cce
cratedb_sqlparse_py/cratedb_sqlparse/parser.py
@@ -1,3 +1,4 @@
1
+# ruff: noqa: A005 # Module `parser` shadows a Python standard-library module
2
from typing import List
3
4
from antlr4 import CommonTokenStream, InputStream, RecognitionException, Token
@@ -181,7 +182,7 @@ def type(self):
181
182
return self.ctx.start.text
183
184
def __repr__(self):
- return f'{self.__class__.__qualname__}<{self.query if len(self.query) < 15 else self.query[:15] + "..."}>'
185
+ return f"{self.__class__.__qualname__}<{self.query if len(self.query) < 15 else self.query[:15] + '...'}>"
186
187
188
def find_suitable_error(statement, errors):
0 commit comments