To help keep code quality high, we should utilize the mypy static type checker. Static type checking allows for us to verify that the typing annotations are correct and match the usage in other parts of the source tree (which should help to prevent errors from occurring).
- Use
mypy to remove all identified issues from the Python files (or configure mypyrc to properly ignore specific errors that cannot be corrected).
- Add the tool to the
build.yaml workflow file.
- Add the tool to the
run_pylint_check.py script used by the pylint.yaml workflow file.