This pull request aims to add type hinting to the existing code base and to automatically perform static analysis of the code on push and pull request.
Reasoning
Here is a list of a few reasons to integrate this pull request:
It does not impact the performance or behaviour of the code as the interpreter simply treats hints as comments
it allows the usage of static analysis tools such as mypy, allowing to find potential bugs related to type traits
following the previous point, editors such as Visual Studio Code can use hints to provide better auto-completion and warn you about incompatible types before running the code
integration through github actions allows for pull requests and pushes to be automatically checked to highlight possible coding errors before being merged or released
Description
This pull request aims to add type hinting to the existing code base and to automatically perform static analysis of the code on push and pull request.
Reasoning
Here is a list of a few reasons to integrate this pull request: