From 82c46f4c1c9596c6ec01f0d01ab8dcdb8670c6fc Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 24 May 2023 16:03:28 -0400 Subject: [PATCH 1/4] fix large files checking Signed-off-by: Jinzhe Zeng --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1922ea33f8..01c42fd38c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,7 @@ repos: - id: check-yaml #- id: check-json - id: check-added-large-files + args: ['--maxkb=1024', '--enforce-all'] - id: check-merge-conflict - id: check-symlinks - id: check-toml From 356adf9fd169197bb0c08388850c51239d003cd0 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 24 May 2023 16:11:20 -0400 Subject: [PATCH 2/4] add exclude Signed-off-by: Jinzhe Zeng --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01c42fd38c..166fd99ab2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,16 @@ repos: #- id: check-json - id: check-added-large-files args: ['--maxkb=1024', '--enforce-all'] + # TODO: remove the following after resolved + exclude: | + (?x)^( + source/lmp/tests/lrmodel.pbtxt| + source/tests/infer/deepspin.pbtxt| + source/tests/infer/dp4mask.pbtxt| + source/tests/infer/dipolecharge_e.pbtxt| + source/tests/nvnmd/map.npy| + source/tests/infer/deeppolar_new.pbtxt + )$ - id: check-merge-conflict - id: check-symlinks - id: check-toml From 7dde8b82f16adc56a040c7b1dba37f7cd30b8d29 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Thu, 25 May 2023 21:05:06 -0400 Subject: [PATCH 3/4] remove resolved files --- .pre-commit-config.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 166fd99ab2..eeb2d99742 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,8 +15,6 @@ repos: # TODO: remove the following after resolved exclude: | (?x)^( - source/lmp/tests/lrmodel.pbtxt| - source/tests/infer/deepspin.pbtxt| source/tests/infer/dp4mask.pbtxt| source/tests/infer/dipolecharge_e.pbtxt| source/tests/nvnmd/map.npy| From fa377e92329f78d4a7c57de6bd0e2ce5a2019b9e Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 5 Jun 2023 14:21:45 -0400 Subject: [PATCH 4/4] remove dp4mask.pbtxt Signed-off-by: Jinzhe Zeng --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 829bde0ae8..5552c8226b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,6 @@ repos: # TODO: remove the following after resolved exclude: | (?x)^( - source/tests/infer/dp4mask.pbtxt| source/tests/infer/dipolecharge_e.pbtxt| source/tests/nvnmd/map.npy| source/tests/infer/deeppolar_new.pbtxt