Related to #59. Should be done in 1.1 as NumPy is also dropping 3.6 support by then. Not going to drop support in 1.0 because at least Ubuntu 18.04 LTS uses 3.6 as its default interpreter. This should also include a bump of the minimum supported NumPy/SciPy versions.
[ ] By using from __future__ import annotations, we should get a performance benefit and simplify the annotations (will still need to check if e.g. list becomes a synonym for typing.List already in 3.7)
list is a synonym but apparently mypy does not recognize it until in 3.9 – keeping the current style.
Related to #59. Should be done in 1.1 as NumPy is also dropping 3.6 support by then. Not going to drop support in 1.0 because at least Ubuntu 18.04 LTS uses 3.6 as its default interpreter. This should also include a bump of the minimum supported NumPy/SciPy versions.
from __future__ import annotations
, we should get a performance benefit and simplify the annotations (will still need to check if e.g.list
becomes a synonym fortyping.List
already in 3.7)list
is a synonym but apparentlymypy
does not recognize it until in 3.9 – keeping the current style.