Enable Ruff PT006 (#88165)

* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
This commit is contained in:
Franck Nijhof 2023-02-15 14:09:50 +01:00 committed by GitHub
parent 6f38bc274a
commit ed79265843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
411 changed files with 1532 additions and 1123 deletions

View file

@ -639,7 +639,7 @@ async def test_entity_debug_info_message(
@pytest.mark.parametrize(
"service,topic,parameters,payload,template",
("service", "topic", "parameters", "payload", "template"),
[
(
text.SERVICE_SET_VALUE,
@ -693,7 +693,7 @@ async def test_reloadable(
@pytest.mark.parametrize(
"topic,value,attribute,attribute_value",
("topic", "value", "attribute", "attribute_value"),
[
("state_topic", "some text", None, "some text"),
],