mirror of https://github.com/zulip/zulip.git
minor: Streamline IGNORE_IDS in check-templates.
This commit is contained in:
parent
c0d72ba236
commit
5a5dcd6962
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue