ccao-data / actions

GitHub Actions for CCAO Data projects
0 stars 0 forks source link

Upgrade pre-commit and its hooks #32

Closed jeancochrane closed 4 months ago

jeancochrane commented 4 months ago

In the course of investigating https://github.com/lorenzwalthert/precommit/issues/571, I realized that our pre-commit hooks are outdated, and we're running an old version of pre-commit due to installing from apt instead of PyPi. This PR updates pre-commit and its hooks for the sake of keeping things tidy and ruling out any problems due to package versions.

I also tested these changes as part of https://github.com/ccao-data/model-res-avm/pull/243, to confirm that the R hooks still work.