Skip to content

Commit 1257260

Browse files
committed
Skip suggesting titles for now
1 parent 4f7562f commit 1257260

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pre_commit_hooks/check_preference_manifests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ def validate_subkeys(subkeys, filename):
338338
if not validate_pfm_type_strings(subkey, filename):
339339
passed = False
340340

341-
# Check that list items are of the expected type
342-
if "pfm_type" not in subkey:
343-
print(
344-
"WARNING: Recommend adding a pfm_title to %s"
345-
% subkey.get("pfm_name", "<unnamed key>")
346-
)
341+
# TODO: Suggest adding a title if one is missing
342+
# if "pfm_title" not in subkey:
343+
# print(
344+
# "WARNING: Recommend adding a pfm_title to %s"
345+
# % subkey.get("pfm_name", "<unnamed key>")
346+
# )
347347

348348
# Check that list items are of the expected type
349349
if not validate_list_item_types(subkey, filename):

0 commit comments

Comments
 (0)