mirror of https://github.com/zulip/zulip.git
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:
parent
debcf507bd
commit
1769a444de
|
@ -212,15 +212,9 @@ def check_handlebar_templates(templates):
|
||||||
for fn in templates:
|
for fn in templates:
|
||||||
validate(fn=fn, check_indent=True)
|
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:
|
for fn in templates:
|
||||||
if fn not in IGNORE_FILES:
|
if not validate_indent_html(fn):
|
||||||
if not validate_indent_html(fn):
|
sys.exit(1)
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
Loading…
Reference in New Issue