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.
This commit is contained in:
Aditya Bansal 2017-05-12 20:47:05 +05:30 committed by Tim Abbott
parent debcf507bd
commit 1769a444de
1 changed files with 2 additions and 8 deletions

View File

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