build.production_app   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 0
1
import os
2
3
from app import create_app
4
from config.app_config import ProductionLevelConfig
5
from config.db_config import RemoteDBConfig
6
7
if "SECRET_KEY" not in os.environ:
8
    raise Warning("The secret key must be passed by the <SECRET_KEY> envvar.")
9
10
application = create_app(ProductionLevelConfig, RemoteDBConfig)
11