Ignore attribute-defined-outside-init pylint warnings in tests (#119470)

This commit is contained in:
epenet 2024-06-12 12:22:31 +02:00 committed by GitHub
parent 2a7e78a80f
commit 7d631c28a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 0 deletions

View file

@ -107,6 +107,7 @@ async def test_async_update_support(hass: HomeAssistant) -> None:
"""Async update."""
async_update.append(1)
# pylint: disable-next=attribute-defined-outside-init
ent.async_update = async_update_func
await ent.async_update_ha_state(True)