Adjust docstring on hassfest generated files (#89080)

This commit is contained in:
epenet 2023-03-03 11:34:20 +01:00 committed by GitHub
parent 4a3c0cd0a8
commit 699cc6c092
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.countries

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.currencies
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.languages [frontend_tag]
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -1,4 +1,4 @@
"""This file is automatically generated.
"""Automatically generated file.
To update, run python3 -m script.hassfest
"""

View file

@ -65,7 +65,7 @@ def format_python(
) -> str:
"""Format Python code with Black. Optionally prepend a generator comment."""
if generator:
content = f"""\"\"\"This file is automatically generated.
content = f"""\"\"\"Automatically generated file.
To update, run python3 -m {generator}
\"\"\"