From 3c632b3fc0970c8a65fdf68fe2fbf8762eb21a3c Mon Sep 17 00:00:00 2001 From: gbrodman Date: Thu, 23 Jul 2020 18:12:34 -0400 Subject: [PATCH] Don't run presubmits over the .git folder (#711) --- config/presubmits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/presubmits.py b/config/presubmits.py index 265f40d82..fbab0c213 100644 --- a/config/presubmits.py +++ b/config/presubmits.py @@ -22,7 +22,7 @@ import sys import re # We should never analyze any generated files -UNIVERSALLY_SKIPPED_PATTERNS = {"/build/", "cloudbuild-caches", "/out/"} +UNIVERSALLY_SKIPPED_PATTERNS = {"/build/", "cloudbuild-caches", "/out/", ".git/"} # We can't rely on CI to have the Enum package installed so we do this instead. FORBIDDEN = 1 REQUIRED = 2