chore: address linting errors
This commit is contained in:
parent
7f97c97b30
commit
b58f67b272
8 changed files with 16 additions and 53 deletions
|
|
@ -1,13 +0,0 @@
|
|||
from typing import List, Optional, Tuple, Type, Union
|
||||
|
||||
from argus._argus import DType as DType
|
||||
from argus.exprs import ConstBool, ConstFloat, ConstInt, ConstUInt, VarBool, VarFloat, VarInt, VarUInt
|
||||
from argus.signals import Signal
|
||||
|
||||
AllowedDtype = Union[bool, int, float]
|
||||
|
||||
def declare_var(name: str, dtype: Union[DType, Type[AllowedDtype]]) -> Union[VarBool, VarInt, VarUInt, VarFloat]: ...
|
||||
def literal(value: AllowedDtype) -> Union[ConstBool, ConstInt, ConstUInt, ConstFloat]: ...
|
||||
def signal(
|
||||
dtype: Union[DType, Type[AllowedDtype]], *, data: Optional[Union[AllowedDtype, List[Tuple[float, AllowedDtype]]]] = ...
|
||||
) -> Signal: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue