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

@@ -23,7 +23,7 @@ from tests.common import MockConfigEntry
"extra_input",
"extra_options",
),
(
[
(
"binary_sensor",
{},
@@ -47,7 +47,7 @@ from tests.common import MockConfigEntry
{},
{"minimum": 0, "maximum": 20},
),
),
],
)
async def test_config_flow(
hass: HomeAssistant,
@@ -135,7 +135,7 @@ async def test_wrong_uom(
"extra_options",
"options_options",
),
(
[
(
"sensor",
{
@@ -151,7 +151,7 @@ async def test_wrong_uom(
"unit_of_measurement": UnitOfPower.WATT,
},
),
),
],
)
async def test_options(
hass: HomeAssistant,