Allow hassfest to validate specific integrations (#34277)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-16 09:00:04 -07:00
1 parent 94a3cec4bf
commit 371bea03d6
9 files changed
+88 -22

No files matched your search

+3
View File
@@ -249,6 +249,9 @@ def validate(integrations: Dict[str, Integration], config):
validate_dependencies(integrations, integration)
if config.specific_integrations:
continue
# check that all referenced dependencies exist
for dep in integration.manifest.get("dependencies", []):
if dep not in integrations: