diff --git a/check.sh b/check.sh index 432bbfd..911cb67 100755 --- a/check.sh +++ b/check.sh @@ -1,5 +1,8 @@ #!/bin/sh +set -ex + + echo Checking and formatting with black... black . diff --git a/tg/controllers.py b/tg/controllers.py index 7ca446b..30e7b78 100644 --- a/tg/controllers.py +++ b/tg/controllers.py @@ -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