flake8 compliant

This commit is contained in:
brb
2023-07-12 14:03:41 +02:00
parent d5bcf04e61
commit 387986e2d8
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -27,7 +27,11 @@ def initialise_app(
""" """
# load environment variables # load environment variables
load_dotenv() load_dotenv()
assert 'USER_ID' in os.environ, 'environment variable USER_ID must be specified' assert (
'USER_ID' in os.environ
), (
'environment variable USER_ID must be specified'
)
logger_level = os.getenv( logger_level = os.getenv(
'LOGGER_LEVEL', 'LOGGER_LEVEL',
default=LOGGER_LEVEL default=LOGGER_LEVEL