chore: Remove useless PyLint suppressions
This commit is contained in:
parent
d6881cd8d5
commit
526117ae18
@ -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],
|
||||||
|
@ -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:
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user