CI: fix pre-commit on 1.2.x
https://github.com/pandas-dev/pandas/pull/40481#issuecomment-806522323
Thanks @simonjayhawkins - it should probably be pinned on master too, will look later to see how to keep them in sync easily so this doesn't happen again 