MDANSE icon indicating copy to clipboard operation
MDANSE copied to clipboard

[ENHANCEMENT] Update for modern typing

Open oerc0122 opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. MDANSE is nominally 3.9, and so has access to annotatable builtin types. i.e.

dict[str, str]

rather than

from typing import Dict

Dict[str, str]

Describe the solution you'd like

  • Modern python types.
  • Use of baseline 3.9 features.
  • Enabling of ruff's pyupgrade checks for 3.9 target (to change if we upgrade minimum)

Describe alternatives you've considered N/A

Additional context N/A

oerc0122 avatar Apr 09 '25 14:04 oerc0122