Skip to content

Commit

Permalink
licensing and lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scgkiran committed Sep 12, 2024
1 parent 8ec50b5 commit 924f441
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 26 deletions.
1 change: 1 addition & 0 deletions tests/coverage/antlr_parser/FuncTestCaseLexer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# Generated from FuncTestCaseLexer.g4 by ANTLR 4.13.2
from antlr4 import (
ATNDeserializer,
Expand Down
26 changes: 1 addition & 25 deletions tests/coverage/antlr_parser/FuncTestCaseParser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# Generated from FuncTestCaseParser.g4 by ANTLR 4.13.2
# encoding: utf-8
from antlr4 import (
Expand Down Expand Up @@ -5980,7 +5981,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class DateContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6005,7 +6005,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class StringContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6030,7 +6029,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class I64Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6055,7 +6053,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class UserDefinedContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand Down Expand Up @@ -6083,7 +6080,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class I32Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6108,7 +6104,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class IntervalYearContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6133,7 +6128,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class UuidContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6158,7 +6152,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class I8Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6183,7 +6176,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class I16Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6208,7 +6200,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class BinaryContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6233,7 +6224,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class IntervalDayContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6258,7 +6248,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class Fp64Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6283,7 +6272,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class Fp32Context(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6308,7 +6296,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class TimeContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6333,7 +6320,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class BooleanContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6358,7 +6344,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class TimestampContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand All @@ -6383,7 +6368,6 @@ def accept(self, visitor: ParseTreeVisitor):
return visitor.visitChildren(self)

class TimestampTzContext(ScalarTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.ScalarTypeContext
Expand Down Expand Up @@ -6532,7 +6516,6 @@ def scalarType(self):

class FixedCharTypeContext(ParserRuleContext):
__slots__ = "parser"

def __init__(
self, parser, parent: ParserRuleContext = None, invokingState: int = -1
):
Expand All @@ -6546,7 +6529,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class FixedCharContext(FixedCharTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.FixedCharTypeContext
Expand Down Expand Up @@ -6633,7 +6615,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class VarCharContext(VarCharTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.VarCharTypeContext
Expand Down Expand Up @@ -6720,7 +6701,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class FixedBinaryContext(FixedBinaryTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.FixedBinaryTypeContext
Expand Down Expand Up @@ -6809,7 +6789,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class DecimalContext(DecimalTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.DecimalTypeContext
Expand Down Expand Up @@ -6914,7 +6893,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class PrecisionTimestampContext(PrecisionTimestampTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.PrecisionTimestampTypeContext
Expand Down Expand Up @@ -6989,7 +6967,6 @@ def precisionTimestampType(self):

class PrecisionTimestampTZTypeContext(ParserRuleContext):
__slots__ = "parser"

def __init__(
self, parser, parent: ParserRuleContext = None, invokingState: int = -1
):
Expand All @@ -7003,7 +6980,6 @@ def copyFrom(self, ctx: ParserRuleContext):
super().copyFrom(ctx)

class PrecisionTimestampTZContext(PrecisionTimestampTZTypeContext):

def __init__(
self, parser, ctx: ParserRuleContext
): # actually a FuncTestCaseParser.PrecisionTimestampTZTypeContext
Expand Down
3 changes: 2 additions & 1 deletion tests/coverage/antlr_parser/FuncTestCaseParserListener.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
# Generated from FuncTestCaseParser.g4 by ANTLR 4.13.2
from antlr4 import ParseTreeListener, ParseTreeVisitor
from antlr4 import ParseTreeListener

if "." in __name__:
from .FuncTestCaseParser import FuncTestCaseParser
Expand Down
1 change: 1 addition & 0 deletions tests/coverage/antlr_parser/FuncTestCaseParserVisitor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# Generated from FuncTestCaseParser.g4 by ANTLR 4.13.2
from antlr4 import ParseTreeVisitor

Expand Down
1 change: 1 addition & 0 deletions tests/coverage/antlr_parser/SubstraitLexer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# Generated from SubstraitLexer.g4 by ANTLR 4.13.2
from antlr4 import (
ATNDeserializer,
Expand Down

0 comments on commit 924f441

Please sign in to comment.