Disable no-self-use [pylint] (#70641)

* Disable no-self-use

* Remove disable comments
This commit is contained in:
Marc Mueller
2022-04-25 16:41:01 +02:00
committed by GitHub
parent 9dcbc8469e
commit 9b9b553521
49 changed files with 14 additions and 64 deletions

View File

@ -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(