From 87beacd01562304c5d2407820f3d0eb326704387 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 27 Jan 2018 15:17:28 -0800 Subject: [PATCH] check-templates: Update comments on linter. --- tools/check-templates | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/check-templates b/tools/check-templates index 602edf1b0b..6490172bd2 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -106,14 +106,16 @@ def check_html_templates(templates, all_dups): # Ignore these files since these have not been cleaned yet :/ IGNORE_FILES = [ - # These use various whitespace-dependent formatting that - # prevent cleaning them. - 'templates/corporate/zephyr-mirror.html', + # Temporarily Avoiding cleaning these to avoid merge conflicts for now. 'templates/zerver/compose.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` 'templates/zerver/markdown_help.html', - 'templates/zerver/navbar.html', ] # TODO: Clean these files for fn in templates: