Updated some of the CI workflows (action and python versions)
Warning: mypy will force type consistency across the codebase, do not be surprised if your pre-commits fail at the beginning while you get used to the structure. All typing is consistent with Python 3.10 and above (a reason my commits are a bit of a mess in this PR :/).
To do (another PR):
A few functions in the visualisation are still missing type hints. As there is a plan of consolidating these plots I decided to not fully implement, we should ensure we have it in the future.
In the same line we should add docstrings where is missing.
Fixes #239
mypy
pre-commit checksmypy
Warning:
mypy
will force type consistency across the codebase, do not be surprised if your pre-commits fail at the beginning while you get used to the structure. All typing is consistent with Python3.10
and above (a reason my commits are a bit of a mess in this PR :/).To do (another PR):