FIx CI
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
b0c3782ccc
commit
69d04a0b62
|
@ -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
|
||||
|
|
3
check.sh
3
check.sh
|
@ -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
1
runtime.txt
Normal file
|
@ -0,0 +1 @@
|
|||
3.8
|
Loading…
Reference in a new issue