Allow hassfest to validate specific integrations (#34277)
This commit is contained in:
1 parent
94a3cec4bf
commit
371bea03d6
9 files changed
+88
-22
No files matched your search
@@ -60,6 +60,9 @@ def validate(integrations: Dict[str, Integration], config: Config):
|
||||
codeowners_path = config.root / "CODEOWNERS"
|
||||
config.cache["codeowners"] = content = generate_and_validate(integrations)
|
||||
|
||||
if config.specific_integrations:
|
||||
return
|
||||
|
||||
with open(str(codeowners_path)) as fp:
|
||||
if fp.read().strip() != content:
|
||||
config.add_error(
|
||||
|
||||
Reference in new issue
Block a user