Unpin mypy and fix any mypy errors rasied
Context
mypy was pinned in !839 (merged) to resolve CI failures after a version change to 0.991. Mypy should be unpinned and these errors fixed in the code
Task Description
-
Unpin mypy -
Fix mypy errors
Acceptance Criteria
CI will pass while using latest version of mypy
Consider whether the following are required, and complete if so:
- [] Unit tests