Fix manifest codeowners (#22871)

* Added individual files section
* Replaced some manifest/codeowners
This commit is contained in:
cdce8p 2019-04-08 06:01:05 +02:00 committed by Rohan Kapoor
parent 3086e1d39d
commit 8bebd8583f
4 changed files with 16 additions and 4 deletions

View file

@ -27,6 +27,12 @@ homeassistant/scripts/check_config.py @kellerza
# Integrations
"""
INDIVIDUAL_FILES = """
# Individual files
homeassistant/components/group/cover @cdce8p
homeassistant/components/demo/weather @fabaff
"""
def generate():
"""Generate CODEOWNERS."""
@ -39,6 +45,8 @@ def generate():
parts.append("homeassistant/components/{}/* {}".format(
manifest['domain'], ' '.join(manifest['codeowners'])))
parts.append('\n' + INDIVIDUAL_FILES.strip())
return '\n'.join(parts)