check-templates: Update comments on linter.

This commit is contained in:
Tim Abbott 2018-01-27 15:17:28 -08:00
parent bc7614645d
commit 87beacd015
1 changed files with 6 additions and 4 deletions

View File

@ -106,14 +106,16 @@ def check_html_templates(templates, all_dups):
# Ignore these files since these have not been cleaned yet :/ # Ignore these files since these have not been cleaned yet :/
IGNORE_FILES = [ IGNORE_FILES = [
# These use various whitespace-dependent formatting that # Temporarily Avoiding cleaning these to avoid merge conflicts for now.
# prevent cleaning them.
'templates/corporate/zephyr-mirror.html',
'templates/zerver/compose.html', 'templates/zerver/compose.html',
'templates/zerver/keyboard_shortcuts.html', 'templates/zerver/keyboard_shortcuts.html',
'templates/zerver/navbar.html',
# zephyr-mirror.html has some whitespace-dependent formatting
# for code blocks that prevent cleaning it. Might make sense
# to convert it to a /help/ markdown article.
'templates/corporate/zephyr-mirror.html',
# Can't clean this because of `preserve_spaces` # Can't clean this because of `preserve_spaces`
'templates/zerver/markdown_help.html', 'templates/zerver/markdown_help.html',
'templates/zerver/navbar.html',
] ]
# TODO: Clean these files # TODO: Clean these files
for fn in templates: for fn in templates: