Add services.yaml validator (#23205)

* Add services.yaml validator

* Fix path
This commit is contained in:
Paulus Schoutsen
2019-04-18 13:40:46 -07:00
committed by GitHub
parent 37cd711c96
commit 33b8241d26
9 changed files with 172 additions and 71 deletions

View File

@@ -3,12 +3,13 @@ import pathlib
import sys
from .model import Integration, Config
from . import dependencies, manifest, codeowners
from . import dependencies, manifest, codeowners, services
PLUGINS = [
manifest,
dependencies,
codeowners,
services,
]
@@ -37,6 +38,7 @@ def main():
manifest.validate(integrations, config)
dependencies.validate(integrations, config)
codeowners.validate(integrations, config)
services.validate(integrations, config)
# When we generate, all errors that are fixable will be ignored,
# as generating them will be fixed.