Extend check copyright year check in pre-commit hook.