Use check-copyright pre-commit (#172)

This commit is contained in:
Jon Meow
2020-10-19 10:45:38 -07:00
committed by GitHub
parent 3bd756c773
commit 7b3608a6c5
+11
View File
@@ -21,6 +21,17 @@ repos:
- id: mixed-line-ending
args: ['--fix=lf']
- id: trailing-whitespace
- repo: https://github.com/google/pre-commit-tool-hooks
rev: v1.0.3
hooks:
- id: check-copyright
args:
- --copyright
- |+
Part of the Carbon Language project, under the Apache License v2.0 with LLVM
Exceptions. See /LICENSE for license information.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
exclude: '^src/jekyll/(Gemfile.lock|theme/.*)$'
- repo: https://github.com/codespell-project/codespell
rev: v1.17.1
hooks: