Cleanup before merge

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-11-12 12:25:29 -08:00
parent 1d93290a1c
commit 4cc54941c7
3 changed files with 2 additions and 14 deletions
+2
View File
@@ -68,6 +68,8 @@ def is_excluded(file):
for path_exclusion in PATH_EXCLUSIONS:
if fnmatch.fnmatch(file, path_exclusion):
return True
if '\\Template\\' in normalized_file:
return True
with open(file, 'r') as file:
contents = file.read()
for exclusion_term in EXCLUSIONS: