mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:54:41 +01:00
Use check-copyright pre-commit (#172)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user