core/tests/components/zha
Sid 0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
..
__init__.py
common.py Enable first batch of Ruff RET rules (#114480) 2024-03-31 11:30:59 +02:00
conftest.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
data.py
test_alarm_control_panel.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_api.py Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
test_backup.py Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
test_base.py
test_binary_sensor.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_button.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_climate.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_cluster_handlers.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_config_flow.py Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
test_cover.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_device.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_device_action.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_device_tracker.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_device_trigger.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_diagnostics.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_discover.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_fan.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_gateway.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_helpers.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_init.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_light.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_lock.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_logbook.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_number.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_radio_manager.py Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
test_registries.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_repairs.py Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
test_select.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_sensor.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_silabs_multiprotocol.py Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
test_siren.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_switch.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_update.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_websocket_api.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
zha_devices_list.py