Update pre-commit to v3.1.0
Update pre-commit to v3.1.0

This also uses the flake8 hook directly instead of the built in with
pre-commit-hooks.  The latter has deprecated the bundled flake8 hook.
Hence the change to the upstream one.

mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext,mwouts/jupytext