general/ci: clean up mypy-misc pipeline, only exclude specific files instead

marked some module configs which aren't really ready for public use as type: ignore
This commit is contained in:
Dima Gerasimov 2023-02-20 23:40:13 +00:00 committed by karlicoss
parent eff9c02886
commit c63177e186
15 changed files with 132 additions and 64 deletions

View file

@ -51,7 +51,7 @@ def _message_from_row(r: sqlite3.Row, *, chats: Chats) -> Message:
id=r['message_id'],
time=time,
chat=chat,
sender=sender,
sender=User(id=sender.id, name=sender.name),
text=r['text'],
)