Compare commits

..
2 Commits
Author SHA1 Message Date
brb 63975169c0 mypy compliant
pipeline / Test (push) Successful in 38s
2023-07-12 14:04:10 +02:00
brb 387986e2d8 flake8 compliant 2023-07-12 14:03:41 +02:00
3 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -27,7 +27,11 @@ def initialise_app(
"""
# load environment variables
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',
default=LOGGER_LEVEL
@@ -63,5 +67,5 @@ def initialise_app(
if __name__ == '__main__':
user_id = initialise_app()
initialise_app()
logging.warning('test message')