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