mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Tweak hassfest codeowners script (#68382)
This commit is contained in:
parent
3c10ac308d
commit
40484a3483
@ -56,7 +56,7 @@ def generate_and_validate(integrations: dict[str, Integration], config: Config):
|
||||
|
||||
parts.append(f"homeassistant/components/{domain}/* {' '.join(codeowners)}")
|
||||
|
||||
if (config.root / "tests/components" / domain).exists():
|
||||
if (config.root / "tests/components" / domain / "__init__.py").exists():
|
||||
parts.append(f"tests/components/{domain}/* {' '.join(codeowners)}")
|
||||
|
||||
parts.append(f"\n{INDIVIDUAL_FILES.strip()}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user