flake8 compliant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user