jatkinson1000/archeryutils

Type hinting improvements

Closed this issue · 0 comments

Typing could be made clearer in the project by replacing several Union types for inputs and return values, and replacing them with generic type variables to make it explict that eg floats as input give floats as output, arrays in give arrays out.

Also the imported container types (Tuple, List, Dict) can be replaced with the builtin types, since these are deprecated since python 3.9