CI: mypy&pyright in manual pre-commit stage
xref https://github.com/pandas-dev/pandas/pull/47067#discussion_r877610624
> Looks great! Looks like there's an unrelated failure on master which prevented this from being run. Do you have a run where this executed?

I had a run, but then I rebased&force pushed :( Happy to wait until the doc-issue is fixed. I rebased but removed #47018 should hopefully work now > I rebased but removed #47018 should hopefully work now

Seems like there is another doc issue. I included the commit again. I'll rebase when main is green. Sweet thanks @twoertwein! Yeah this should be fine despite the failure on main 