From 21518d2f990c2f9792c21f639223bee383a9f986 Mon Sep 17 00:00:00 2001 From: Zhenghai Zhang <65210872+ccsuzzh@users.noreply.github.com> Date: Thu, 29 Jun 2023 14:18:01 +0800 Subject: [PATCH] [CodeStyle][CINN] exclude cinn files in cmakelint config (#54978) --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54a131826ff..5eeea183183 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -126,3 +126,8 @@ repos: hooks: - id: cmakelint args: [--config=./tools/codestyle/.cmakelintrc] + exclude: | + (?x)^( + paddle/cinn/.+| + cmake/cinn/.+ + )$ -- GitLab