Merge pull request 'remove license adding from pre-commit' (#58) from feature/copyright into develop
Reviewed-on: #58
This commit is contained in:
commit
1e60846d3c
@ -1,7 +1,7 @@
|
|||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
@ -14,24 +14,17 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
args: [--branch, master, --branch, develop]
|
args: [--branch, master, --branch, develop]
|
||||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v14.0.6
|
rev: v14.0.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
types_or: [c++, c]
|
types_or: [c++, c]
|
||||||
args: ["-style=file"]
|
args: ["-style=file"]
|
||||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||||
rev: v1.3.1
|
rev: v1.3.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: forbid-crlf
|
- id: forbid-crlf
|
||||||
- id: forbid-tabs
|
- id: forbid-tabs
|
||||||
- id: insert-license
|
|
||||||
files: \.(cpp|c|h)$
|
|
||||||
args:
|
|
||||||
- --license-filepath
|
|
||||||
- LICENSE
|
|
||||||
- --comment-style
|
|
||||||
- /*| *| */
|
|
||||||
#- repo: https://github.com/pocc/pre-commit-hooks
|
#- repo: https://github.com/pocc/pre-commit-hooks
|
||||||
# rev: v1.3.5
|
# rev: v1.3.5
|
||||||
# hooks:
|
# hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user