mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 03:42:20 +01:00
Upgrade dependencies
This commit is contained in:
@@ -219,6 +219,7 @@ class StringLiteral(Literal):
|
||||
__slots__ = ("string", )
|
||||
|
||||
def __init__(self, string: str):
|
||||
super().__init__()
|
||||
self.string = string
|
||||
|
||||
def __str__(self):
|
||||
@@ -229,6 +230,7 @@ class IntLiteral(Literal):
|
||||
__slots__ = ("i", )
|
||||
|
||||
def __init__(self, i: int):
|
||||
super().__init__()
|
||||
self.i = i
|
||||
|
||||
def __str__(self):
|
||||
@@ -256,6 +258,7 @@ class HexIntLiteral(Literal):
|
||||
__slots__ = ("i", )
|
||||
|
||||
def __init__(self, i: int):
|
||||
super().__init__()
|
||||
self.i = HexInt(i)
|
||||
|
||||
def __str__(self):
|
||||
@@ -266,6 +269,7 @@ class FloatLiteral(Literal):
|
||||
__slots__ = ("f", )
|
||||
|
||||
def __init__(self, value: float):
|
||||
super().__init__()
|
||||
self.f = value
|
||||
|
||||
def __str__(self):
|
||||
|
Reference in New Issue
Block a user