Discard changes to script/build_codeowners.py

This commit is contained in:
Jesse Hills 2024-10-07 11:27:57 +13:00 committed by GitHub
parent 95157ed460
commit 359ce697df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,14 +55,9 @@ for path in components_dir.iterdir():
print( print(
f"Cannot find component {name}. Make sure current path is pip installed ESPHome" f"Cannot find component {name}. Make sure current path is pip installed ESPHome"
) )
# sys.exit(1) sys.exit(1)
if name == "ballu_old": codeowners[f"esphome/components/{name}/*"].extend(comp.codeowners)
codeowners[f"esphome/components/{name}/*"].extend(["@Midnighter32"])
elif comp is None:
codeowners[f"esphome/components/{name}/*"].extend(["@dwmw2"])
else:
codeowners[f"esphome/components/{name}/*"].extend(comp.codeowners)
for platform_path in path.iterdir(): for platform_path in path.iterdir():
platform_name = platform_path.stem platform_name = platform_path.stem