Remove unused hassfest helper (#82123)

This commit is contained in:
Aarni Koskela 2022-11-15 22:26:34 +02:00 committed by GitHub
parent 682187541f
commit 35c1604ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +0,0 @@
"""Helpers to deal with manifests."""
import json
import pathlib
component_dir = pathlib.Path("homeassistant/components")
def iter_manifests():
"""Iterate over all available manifests."""
manifests = [
json.loads(fil.read_text()) for fil in component_dir.glob("*/manifest.json")
]
return sorted(manifests, key=lambda man: man["domain"])