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

@ -65,7 +65,7 @@ def tuya_setup_fixture() -> None:
@pytest.mark.parametrize(
"app_type,side_effects, project_type",
("app_type", "side_effects", "project_type"),
[
("", [RESPONSE_SUCCESS], 1),
(TUYA_SMART_APP, [RESPONSE_ERROR, RESPONSE_SUCCESS], 0),