chore: address linting errors

This commit is contained in:
Anand Balakrishnan 2023-09-01 11:23:37 -07:00
parent 7f97c97b30
commit b58f67b272
No known key found for this signature in database
8 changed files with 16 additions and 53 deletions

View file

@ -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: ...