csiro-coasts / emsarray

xarray extension that supports EMS model formats
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Upgrade to Python 3.10 using pyupgrade #144

Closed mx-moth closed 4 months ago

mx-moth commented 4 months ago

The primary change is updating type hints to use PEP 604 features: X | Y over Union[X, Y] and X | None over Optional[X].

Ref #109