mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Disable no-self-use [pylint] (#70641)
* Disable no-self-use * Remove disable comments
This commit is contained in:
@ -14,7 +14,7 @@ class MockAioSession:
|
||||
self.publish = AsyncMock()
|
||||
self.send_message = AsyncMock()
|
||||
|
||||
def create_client(self, *args, **kwargs): # pylint: disable=no-self-use
|
||||
def create_client(self, *args, **kwargs):
|
||||
"""Create a mocked client."""
|
||||
return MagicMock(
|
||||
__aenter__=AsyncMock(
|
||||
|
Reference in New Issue
Block a user