1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add hassfest URL validation to documentation link (#31143)

This commit is contained in:
Franck Nijhof
2020-01-26 21:32:20 +01:00
committed by GitHub
parent 4311b1ae65
commit aa390efd69
2 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,9 @@ MANIFEST_SCHEMA = vol.Schema(
vol.All([vol.All(vol.Schema({}, extra=vol.ALLOW_EXTRA), vol.Length(min=1))])
),
vol.Optional("homekit"): vol.Schema({vol.Optional("models"): [str]}),
vol.Required("documentation"): str,
vol.Required(
"documentation"
): vol.Url(), # pylint: disable=no-value-for-parameter
vol.Optional("quality_scale"): vol.In(SUPPORTED_QUALITY_SCALES),
vol.Required("requirements"): [str],
vol.Required("dependencies"): [str],