Update mypy to 2.2.0 (#175924)