instantiate types

bump poethepoet
This commit is contained in:
onyx-and-iris 2025-06-15 22:32:46 +01:00
parent abbbf57982
commit 4953751c02
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@ dependencies = [
packages = [{ include = "voicemeeterlib" }]
[tool.poetry.requires-plugins]
poethepoet = "^0.32.1"
poethepoet = "^0.35.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"

View File

@ -96,7 +96,7 @@ class BusEQ(IRemote):
Returns a BusEQ class.
"""
kls = (cls,)
return type(
BusEQ_cls = type(
'BusEQ',
kls,
{
@ -105,6 +105,7 @@ class BusEQ(IRemote):
)
},
)
return BusEQ_cls(remote, i)
@property
def identifier(self) -> str:
@ -136,7 +137,7 @@ class BusEQCh(IRemote):
Returns a BusEQCh class.
"""
kls = (cls,)
return type(
BusEQCh_cls = type(
'BusEQCh',
kls,
{
@ -145,6 +146,7 @@ class BusEQCh(IRemote):
)
},
)
return BusEQCh_cls(remote, i, j)
def __init__(self, remote, i, j):
super().__init__(remote, i)