Passed
Pull Request — master (#2)
by Uwe
03:58
created

scenario_builder.config   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 22
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 has_option  # noqa: F401
15
from reegis.config import init  # noqa: F401
16
from reegis.config import tmp_set  # noqa: F401
17
18
_loaded = False
19
if not _loaded:
20
    init(paths=[os.path.dirname(__file__)])
21
    _loaded = True
22