From 1769a444de79607730e9471a8a224a00735d5ee6 Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Fri, 12 May 2017 20:47:05 +0530 Subject: [PATCH] Remove unnecessary ignore files. In this commit we remove user_sidebar_actions.handlebars from IGNORE_FILES as well remove the check for files to be in a IGNORE list thus reaching 100% 4 space indent checking for handlebar templates. Fixes: #1661. --- tools/check-templates | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/check-templates b/tools/check-templates index e35727cb74..1b25f2f5e6 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -212,15 +212,9 @@ def check_handlebar_templates(templates): for fn in templates: validate(fn=fn, check_indent=True) - # Ignore these files since these have not been cleaned yet :/ - IGNORE_FILES = [ - 'static/templates/user_sidebar_actions.handlebars', - ] - # TODO: Clean these files for fn in templates: - if fn not in IGNORE_FILES: - if not validate_indent_html(fn): - sys.exit(1) + if not validate_indent_html(fn): + sys.exit(1) if __name__ == '__main__': parser = argparse.ArgumentParser()