Don't run presubmits over the .git folder (#711)

This commit is contained in:
gbrodman 2020-07-23 18:12:34 -04:00 committed by GitHub
parent bdebf7c325
commit 3c632b3fc0

View file

@ -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