A simple shell script which checks whether a file's copyright header includes the current year.
Built to be deployed with pre-commit.
Add this entry in your .pre-commit-config
.
repos:
...
- repo: git://github.com/intence/copyright-year-check
rev: 1.0.0
hooks:
- id: copyright-year-check
...
File names containing whitespaces are currently not supported.