Skip to content

pre-commit hook to check whether copyright contains current year

License

Notifications You must be signed in to change notification settings

intive-automotive/copyright-year-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit copyright year check

A simple shell script which checks whether a file's copyright header includes the current year.

Built to be deployed with pre-commit.

Usage

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
  ...

Known issues

File names containing whitespaces are currently not supported.

About

pre-commit hook to check whether copyright contains current year

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages