datacube-core icon indicating copy to clipboard operation
datacube-core copied to clipboard

Add a pre-commit hook to verify license headers

Open omad opened this issue 2 years ago • 0 comments

We use pre-commit to check for trivial errors in code before committing it. It's useful for keeping formatting consistent and catching errors early that can be picked up with a code linter. Tight feedback loops are better than long ones.

I think it would be worth setting up a pre-commit hook for checking license headers to ensure any files we add or change still include the corrected ODC license.

omad avatar Aug 15 '22 06:08 omad