gdal
gdal copied to clipboard
PROPOSAL: pre-commit for code lint checks
What are the current thoughts on using pre-commit for code linter support? The checks are run with each commit and can work as an as-you-go type thing. You can also run pre-commit run --all-files
.
Examples:
Here are some potentially useful ones:
What are the current thoughts on using pre-commit for code linter support?
why not, although I'm not familar at all with it, but from a cursory review, this looks non intrusive. We should just make sure there isn't too much copy&paste / duplication between CI checks and pre-commit, to avoid updating one place and forgetting the other one