J08nY / pyecsca

Python Elliptic Curve Side-Channel Analysis toolkit.
https://pyecsca.org/
MIT License
56 stars 15 forks source link

Ditch "Optional" where possible #47

Closed J08nY closed 1 year ago

J08nY commented 1 year ago

For example here: https://github.com/J08nY/pyecsca/blob/f1993d49f2ed28cacf5537410c0db99dc8bdeaeb/pyecsca/sca/trace/combine.py#L11 it is unnecessary, there can just be an exception thrown. This will make typechecking and annotation much easier.