From 5f8fcd05c0e2a4a081683f09acfd3ca965e3adb5 Mon Sep 17 00:00:00 2001 From: allonli Date: Wed, 23 May 2018 20:07:02 +0800 Subject: [PATCH] test folder copyright hook --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc00118c0d..5c7159b124 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,6 +55,6 @@ repos: description: Check C++ code style using cpplint. entry: bash ./tools/pre-commit.hooks/cpplint.hook language: system - files: (src).*\.(c|cc|cxx|cpp|h|hpp|hxx)$ + files: (test|src).*\.(c|cc|cxx|cpp|h|hpp|hxx)$ exclude: (?!.*third_party)^.*$ | (?!.*book)^.*$i | *\.pb\.cpp -- GitLab