Passed
Pull Request — master (#2)
by Uwe
01:11
created

scenario_builder.config   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 11
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 0
1
"""Create a basic scenario from the internal data structure.
2
3
SPDX-FileCopyrightText: 2016-2019 Uwe Krien <[email protected]>
4
5
SPDX-License-Identifier: MIT
6
"""
7
8
import os
9
10
from reegis.config import get  # noqa: F401
11
from reegis.config import get_dict  # noqa: F401
12
from reegis.config import get_dict_list  # noqa: F401
13
from reegis.config import get_list  # noqa: F401
14
from reegis.config import init  # noqa: F401
15
16
_loaded = False
17
if not _loaded:
18
    init(paths=[os.path.dirname(__file__)])
19
    _loaded = True
20