Ignore too-many-nested-blocks warning in zha tests (#119479)

pull/119540/head
epenet 2024-06-12 22:33:40 +02:00 committed by GitHub
parent 541c941006
commit f7326d3baf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -347,6 +347,7 @@ def test_cluster_handler_registry() -> None:
all_quirk_ids = {} all_quirk_ids = {}
for cluster_id in CLUSTERS_BY_ID: for cluster_id in CLUSTERS_BY_ID:
all_quirk_ids[cluster_id] = {None} all_quirk_ids[cluster_id] = {None}
# pylint: disable-next=too-many-nested-blocks
for manufacturer in zigpy_quirks._DEVICE_REGISTRY.registry.values(): for manufacturer in zigpy_quirks._DEVICE_REGISTRY.registry.values():
for model_quirk_list in manufacturer.values(): for model_quirk_list in manufacturer.values():
for quirk in model_quirk_list: for quirk in model_quirk_list: