Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
parent
6f38bc274a
commit
ed79265843
411 changed files with 1532 additions and 1123 deletions
|
@ -669,7 +669,7 @@ async def test_mqtt_payload_not_an_option_warning(
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"service,topic,parameters,payload,template",
|
||||
("service", "topic", "parameters", "payload", "template"),
|
||||
[
|
||||
(
|
||||
select.SERVICE_SELECT_OPTION,
|
||||
|
@ -724,7 +724,7 @@ async def test_reloadable(
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"topic,value,attribute,attribute_value",
|
||||
("topic", "value", "attribute", "attribute_value"),
|
||||
[
|
||||
("state_topic", "milk", None, "milk"),
|
||||
("state_topic", "beer", None, "beer"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue