Fix manifest codeowners (#22871)
* Added individual files section * Replaced some manifest/codeowners
This commit is contained in:
parent
3086e1d39d
commit
8bebd8583f
4 changed files with 16 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue