From e4d6e203d25d6403401511579837976bc856f982 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:41:11 +0000 Subject: [PATCH 1/2] Bump ruff from 0.8.6 to 0.9.2 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.6 to 0.9.2. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.8.6...0.9.2) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 6f259f213f58d21dd2b7091323781852395d6f17 Mon Sep 17 00:00:00 2001 From: Amit Finkelstein Date: Wed, 22 Jan 2025 14:06:11 +0000 Subject: [PATCH 2/2] Format --- custom_components/patch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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