OSGeo / grass-addons

GRASS GIS Addons Repository
https://grass.osgeo.org/grass-stable/manuals/addons/
GNU General Public License v2.0
98 stars 148 forks source link

checks: Enable more pre-commit tools from the pre-commit-hooks repo #1134

Open echoix opened 2 months ago

echoix commented 2 months ago

This PR adds more checks to pre-commit, from the already downloaded and required https://github.com/pre-commit/pre-commit-hooks.

I commented out two of them, as there were too many changes to include right away, and might need a separate discussion. I tried all the available hooks of that repo and kept these ones.

I'd like a second opinion on this, and will be waiting a bit, as I pretty much finished bringing up to date the linters in the repo.