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

@ -603,7 +603,7 @@ async def mock_modbus_read_pymodbus_fixture(
],
)
@pytest.mark.parametrize(
"do_return,do_exception,do_expect_state,do_expect_value",
("do_return", "do_exception", "do_expect_state", "do_expect_value"),
[
[ReadResult([1]), None, STATE_ON, "1"],
[IllegalFunctionRequest(0x99), None, STATE_UNAVAILABLE, STATE_UNAVAILABLE],