Removed unnecessary comments and type hints in src.__init__
This commit is contained in:
parent
18abdecb74
commit
a61deca6fa
@ -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()
|
||||
|
Reference in New Issue
Block a user