From a61deca6faccb25c8269f06bdc800f5204070a8f Mon Sep 17 00:00:00 2001 From: StNicolay Date: Sun, 13 Nov 2022 19:49:21 +0300 Subject: [PATCH] Removed unnecessary comments and type hints in src.__init__ --- src/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/__init__.py b/src/__init__.py index ad44c78..03c648b 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -6,7 +6,6 @@ from sqlalchemy.future import Engine from . import bot, cryptography, database __all__ = ["bot", "cryptography", "database"] -engine: Engine def main() -> None: @@ -16,7 +15,7 @@ def main() -> None: user=os.getenv("DB_USER"), passwd=os.getenv("DB_PASS"), db=os.getenv("DB_NAME"), - ) # type: ignore + ) database.prepare.prepare(engine) - bot_ = bot.create_bot(os.getenv("TG_TOKEN"), engine) # type: ignore + bot_ = bot.create_bot(os.getenv("TG_TOKEN"), engine) bot_.infinity_polling()