From 0838e2ce32c266ec7c9dc8c333b5c5b9a666f2c8 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Thu, 4 Feb 2021 08:06:38 +0000 Subject: [PATCH] exclude decoders cpp --- .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 93281d90..7aad026c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,4 +38,4 @@ entry: python .pre-commit-hooks/copyright-check.hook language: system files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$ - exclude: (?!.*third_party)^.*$ | (?!.*book)^.*$ | (?!.*decoders/swig)^.*$ \ No newline at end of file + exclude: (?=decoders/swig).*(\.cpp|\.h)$ \ No newline at end of file