mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Ignore undefined-loop-variable pylint warnings in zha tests (#119476)
This commit is contained in:
parent
8323266960
commit
d69e62c096
@ -368,6 +368,7 @@ def test_cluster_handler_registry() -> None:
|
||||
all_quirk_ids[cluster_id] = {None}
|
||||
all_quirk_ids[cluster_id].add(quirk_id)
|
||||
|
||||
# pylint: disable-next=undefined-loop-variable
|
||||
del quirk, model_quirk_list, manufacturer
|
||||
|
||||
for (
|
||||
|
@ -576,6 +576,7 @@ def test_quirk_classes() -> None:
|
||||
quirk_id = getattr(quirk, ATTR_QUIRK_ID, None)
|
||||
if quirk_id is not None and quirk_id not in all_quirk_ids:
|
||||
all_quirk_ids.append(quirk_id)
|
||||
# pylint: disable-next=undefined-loop-variable
|
||||
del quirk, model_quirk_list, manufacturer
|
||||
|
||||
# validate all quirk IDs used in component match rules
|
||||
|
Loading…
x
Reference in New Issue
Block a user