no newlines at the end of files fixed

This commit is contained in:
miloszowi 2021-10-01 10:51:17 +02:00
parent 01030671f0
commit 1644aa35a1
10 changed files with 10 additions and 12 deletions

View File

@ -4,4 +4,3 @@ WORKDIR /src
COPY ./src/requirements.txt /src COPY ./src/requirements.txt /src
RUN pip install -r ./requirements.txt RUN pip install -r ./requirements.txt

View File

@ -1,4 +1,3 @@
from typing import Optional
from urllib.parse import quote_plus from urllib.parse import quote_plus
from config.credentials import (MONGODB_DATABASE, MONGODB_HOSTNAME, from config.credentials import (MONGODB_DATABASE, MONGODB_HOSTNAME,

View File

@ -17,6 +17,9 @@ class AbstractHandler:
def get_update_data(self, update: Update, context: CallbackContext) -> UpdateData: def get_update_data(self, update: Update, context: CallbackContext) -> UpdateData:
return UpdateData.create_from_arguments(update, context) return UpdateData.create_from_arguments(update, context)
def reply(self, update: Update, text: str) -> None:
update.effective_message.reply(text=text)
def reply_markdown(self, update: Update, message: str) -> None: def reply_markdown(self, update: Update, message: str) -> None:
update.effective_message.reply_markdown_v2(text=message) update.effective_message.reply_markdown_v2(text=message)

View File

@ -61,6 +61,3 @@ class UserRepository():
result.append(User.from_mongo_document(record)) result.append(User.from_mongo_document(record))
return result return result