chore: Remove useless PyLint suppressions

This commit is contained in:
Gergely Polonkai 2023-11-18 07:12:26 +01:00
parent d6881cd8d5
commit 526117ae18
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
3 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ class Message:
class LocalMessage(Message): class LocalMessage(Message):
"""Class representing a local message""" """Class representing a local message"""
def __init__( # pylint: disable=too-many-arguments,super-init-not-called def __init__( # pylint: disable=too-many-arguments
self, self,
feed: LocalFeed, feed: LocalFeed,
content: Dict[str, Any], content: Dict[str, Any],

View File

@ -38,7 +38,7 @@ class MuxRPCAPIException(Exception):
"""Exception to raise on MuxRPC API errors""" """Exception to raise on MuxRPC API errors"""
class MuxRPCHandler: # pylint: disable=too-few-public-methods class MuxRPCHandler:
"""Base MuxRPC handler class""" """Base MuxRPC handler class"""
def check_message(self, msg: PSMessage) -> None: def check_message(self, msg: PSMessage) -> None:

View File

@ -239,7 +239,7 @@ async def test_message_encoding(ps_client: MockSHSClient) -> None: # pylint: di
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_message_stream( async def test_message_stream(
ps_client: MockSHSClient, mocker: MockerFixture # pylint: disable=redefined-outer-name ps_client: MockSHSClient, mocker: MockerFixture # pylint: disable=redefined-outer-name
) -> None: # pylint: disable=redefined-outer-name ) -> None:
"""Test requesting a history stream""" """Test requesting a history stream"""
await ps_client.connect() await ps_client.connect()
@ -330,7 +330,7 @@ async def test_message_stream(
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_message_request( async def test_message_request(
ps_server: MockSHSServer, mocker: MockerFixture # pylint: disable=redefined-outer-name ps_server: MockSHSServer, mocker: MockerFixture # pylint: disable=redefined-outer-name
) -> None: # pylint: disable=redefined-outer-name ) -> None:
"""Test message sending""" """Test message sending"""
ps_server.listen() ps_server.listen()