chore: comment cleanup

Comment-Gate: 2 quarantined
This commit is contained in:
Simon Pinfold
2026-08-18 12:20:02 -07:00
parent 52125ed00e
commit e0774d0925
2 changed files with 2 additions and 4 deletions

View File

@@ -332,9 +332,8 @@ def get_path_derived_tag_vocabulary() -> set[str]:
vocabulary.update(_KNOWN_SUBFOLDER_TAGS)
for folder_name, _bases, _extensions in get_comfy_models_folders():
vocabulary.add(f"model_type:{folder_name}")
# Stored tag names reach the database through normalize_tags, so an
# un-normalized vocabulary entry would never match one and the stale tag
# it is meant to authorise removing would survive.
# Stored names reach the database through normalize_tags, so an un-normalized
# entry would never match the tag it exists to authorise removing.
return set(normalize_tags(list(vocabulary)))

View File

@@ -384,7 +384,6 @@ class TestTagReprojection:
def test_vocabulary_matches_tags_as_the_database_stores_them(
self, session, comfy_dirs
):
"""Stored names arrive normalized, so a raw vocabulary entry never matches."""
path = _write(comfy_dirs["checkpoints"], "model.safetensors")
_register(
session,