Telecominfraproject / oopt-gnpy

Optical Route Planning Library, Based on a Gaussian Noise Model
http://telecominfraproject.com
BSD 3-Clause "New" or "Revised" License
198 stars 87 forks source link

internal: simplify type annotations for `float` #450

Closed jktjkt closed 1 year ago

jktjkt commented 1 year ago

As per PEP 484, the type annotations do not have to say Union[int | float], just a float is OK.

SamiAlavi commented 1 year ago

Hi @jktjkt, can I work on this?

jktjkt commented 1 year ago

@SamiAlavi , yes please, patches are very welcome.