minor: Streamline IGNORE_IDS in check-templates.

This commit is contained in:
Steve Howell 2021-12-02 13:24:24 +00:00 committed by Tim Abbott
parent c0d72ba236
commit 5a5dcd6962
1 changed files with 0 additions and 12 deletions

View File

@ -57,11 +57,8 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
template_id_dict = build_id_dict(templates)
# TODO: Clean up these cases of duplicate ids in the code
IGNORE_IDS = [
"api-example-tabs",
"errors",
"error-message-box",
"email",
"messages",
"registration",
"pw_strength",
"id_password",
@ -70,17 +67,8 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
"id_terms",
"logout_form",
"send_confirm",
"register",
"footer",
"charged_amount",
"change-plan-status",
# Temporary while we have searchbox forked
"search_exit",
"search_query",
"message_view_header",
"search_arrows",
"searchbox_form",
"searchbox",
]
bad_ids_dict = {
ids: fns