Update Ruff to v0.0.247 (#88210)

* Update Ruff to v0.0.247

* Fix new found violations
This commit is contained in:
Franck Nijhof 2023-02-15 22:46:03 +01:00 committed by GitHub
parent a1efd59760
commit d3ed8de232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 135 additions and 106 deletions

View file

@ -3829,7 +3829,7 @@ async def test_script_mode_single(hass, caplog):
@pytest.mark.parametrize("max_exceeded", [None, "WARNING", "INFO", "ERROR", "SILENT"])
@pytest.mark.parametrize(
"script_mode,max_runs", [("single", 1), ("parallel", 2), ("queued", 2)]
("script_mode", "max_runs"), [("single", 1), ("parallel", 2), ("queued", 2)]
)
async def test_max_exceeded(hass, caplog, max_exceeded, script_mode, max_runs):
"""Test max_exceeded option."""