Apply several lints

This commit is contained in:
Lonami Exo
2019-05-03 13:59:17 +02:00
parent 52be689926
commit 1e17ef1c98
22 changed files with 78 additions and 53 deletions

View File

@@ -11,6 +11,10 @@ class SenderGetter(abc.ABC):
`_input_sender`, `_sender_id` and `_client`. As an end user, you
should not worry about this.
"""
def __init__(self):
self._sender = self._input_sender = self._sender_id = \
self._client = None
@property
def sender(self):
"""
@@ -79,3 +83,9 @@ class SenderGetter(abc.ABC):
"""
Re-fetches sender information through other means.
"""
@abc.abstractmethod
async def _reload_message(self):
"""
Subclasses should implement message reloading.
"""