Use the latest version of mypy
Before raising this MR, consider whether the following are required, and complete if so:
-
Unit tests -
Metrics -
Documentation update(s)
If not required, please explain in brief why not.
Description
This request aims to unpin mypy
so that its latest version is used. It also fixes the type-checking errors/warnings that arise from using the newer version. Finally, types-protobuf
is also unpinned, reverting the changes from MR862, as this new request fixes the underlying issue that the pinning types-protobuf
solution bypassed.
Changes proposed in this merge request:
- Unpin
mypy
- Fix various type-checking errors/warnings
- Unpin
types-protobuf
Validation
Passing CI tests