diff --git a/custom_components/patch/__init__.py b/custom_components/patch/__init__.py index f7ba357..52d0cf7 100644 --- a/custom_components/patch/__init__.py +++ b/custom_components/patch/__init__.py @@ -214,7 +214,7 @@ async def _patch( def _repair(self, files: list[dict[str, str]]) -> None: """Report an issue of base file mismatch.""" - file_names = ", ".join(f'"{ file[CONF_NAME] }"' for file in files) + file_names = ", ".join(f'"{file[CONF_NAME]}"' for file in files) message = ( f"The file {file_names} is" if len(files) == 1 diff --git a/requirements.txt b/requirements.txt index 185e066..9d37e88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ pytest-homeassistant-custom-component aiofiles -ruff==0.8.6 \ No newline at end of file +ruff==0.9.2 \ No newline at end of file