Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-03-25 18:04:23 +02:00
parent b0c3782ccc
commit 69d04a0b62
Signed by untrusted user who does not match committer: ari
GPG key ID: A50D5B4B599AF8A2
3 changed files with 4 additions and 2 deletions

View file

@ -225,7 +225,7 @@ class Model:
self.copied_msgs = (0, [])
return True
def get_current_message_text(self) -> tuple[str, bool]:
def get_current_message_text(self) -> Tuple[str, bool]:
buffer = []
from_chat_id, msg_ids = self.copied_msgs

View file

@ -12,7 +12,8 @@ mypy arigram --warn-redundant-casts --warn-unused-ignores \
--disallow-untyped-calls --disallow-untyped-defs \
--disallow-incomplete-defs --check-untyped-defs \
--disallow-untyped-decorators --pretty --show-traceback \
--no-warn-unused-ignores --follow-imports=error --namespace-packages
--no-warn-unused-ignores --follow-imports=error --namespace-packages \
--python-version "$(head -n1 runtime.txt)"
echo Checking import sorting...
isort -c arigram/*.py

1
runtime.txt Normal file
View file

@ -0,0 +1 @@
3.8