Context
With PR #1924, type hints have officially been added to functions throughout the codebase.
Problem or idea
We'd like to experiment with the static analyzer mypy. This Issue should focus on configuring and testing mypy, and deciding on whether or not we'd like to add it to our project. We should also look into where it would be used in the workflow, how it would be added to pre-commit and GitHub actions.
Solution or next step
- Install and configure mypy
- Run mypy and analyze results
- Investigate and configure integration into pre-commit and GitHub actions
Context
With PR #1924, type hints have officially been added to functions throughout the codebase.
Problem or idea
We'd like to experiment with the static analyzer
mypy. This Issue should focus on configuring and testing mypy, and deciding on whether or not we'd like to add it to our project. We should also look into where it would be used in the workflow, how it would be added to pre-commit and GitHub actions.Solution or next step