From 498d575d2913420b7344265a16e2acf2f7060546 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 10 Oct 2022 22:36:15 -0300 Subject: [PATCH] remove license adding from pre-commit --- .pre-commit-config.yaml | 55 ++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 807fbc2..4a1c397 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,37 +1,30 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-case-conflict - - id: mixed-line-ending - - id: check-added-large-files - - id: check-executables-have-shebangs - - id: check-shebang-scripts-are-executable - - id: detect-private-key - - id: no-commit-to-branch - args: [--branch, master, --branch, develop] -- repo: https://github.com/pre-commit/mirrors-clang-format - rev: v14.0.6 - hooks: - - id: clang-format - types_or: [c++, c] - args: ["-style=file"] -- repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.1 - hooks: - - id: forbid-crlf - - id: forbid-tabs - - id: insert-license - files: \.(cpp|c|h)$ - args: - - --license-filepath - - LICENSE - - --comment-style - - /*| *| */ + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-case-conflict + - id: mixed-line-ending + - id: check-added-large-files + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: detect-private-key + - id: no-commit-to-branch + args: [--branch, master, --branch, develop] + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v14.0.6 + hooks: + - id: clang-format + types_or: [c++, c] + args: ["-style=file"] + - repo: https://github.com/Lucas-C/pre-commit-hooks + rev: v1.3.1 + hooks: + - id: forbid-crlf + - id: forbid-tabs #- repo: https://github.com/pocc/pre-commit-hooks # rev: v1.3.5 # hooks: -- 2.30.2