Create quality_scale.yaml from integration scaffold script (#132199)

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>
This commit is contained in:
Matthias Alphart
2024-12-11 13:52:53 +01:00
committed by GitHub
parent 7103b7fd80
commit ecfa888918
7 changed files with 67 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ def generate(template: str, info: Info) -> None:
print()
def _generate(src_dir, target_dir, info: Info) -> None:
def _generate(src_dir: Path, target_dir: Path, info: Info) -> None:
"""Generate an integration."""
replaces = {"NEW_DOMAIN": info.domain, "NEW_NAME": info.name}