Enable Ruff rule PT007 (#113764)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Sid
2024-03-19 09:01:07 +01:00
committed by GitHub
parent 089a3ab6d7
commit 00ec7f11f0
204 changed files with 908 additions and 921 deletions

View File

@@ -112,7 +112,7 @@ def test__load_translations_files_by_language(
@pytest.mark.parametrize(
("language", "expected_translation", "expected_errors"),
(
[
(
"en",
{
@@ -154,7 +154,7 @@ def test__load_translations_files_by_language(
"component.test.entity.switch.outlet.name",
],
),
),
],
)
async def test_load_translations_files_invalid_localized_placeholders(
hass: HomeAssistant,