Fix check.sh script

This commit is contained in:
Paul Nameless 2020-07-15 20:31:26 +08:00
parent ebb4f56cd4
commit 711aee2375
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh
set -ex
echo Checking and formatting with black...
black .

View file

@ -9,6 +9,7 @@ from tempfile import NamedTemporaryFile
from typing import Any, Callable, Dict, List, Optional
from telegram.utils import AsyncResult
from tg import config
from tg.models import Model
from tg.msg import MsgProxy