Set up pre-commit hooks CI jobs
Would allow to run the same versions of the development tools in different environments: dev env, CI. It would avoid the issue of having the dev tools updated when updating the images and not of same version as the ones from `pre-commit`. They would all be updated for all environments when updating `.pre-commit-config.yaml`. https://pre-commit.com/#usage-in-continuous-integration ### CI - [x] Set up cache for pre-commit to speed-up jobs - [x] Run jobs with pre-commit ### Image generation - [x] Install `pre-commit` and `git` (required by `pre-commit`) in `3.9` image - [x] Uninstall no longer necessary dev tools from `3.8` image, once the migration has been completed
issue