mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix manifest codeowners (#22871)
* Added individual files section * Replaced some manifest/codeowners
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user