Completed
Push — master ( f300a0...c42fdb )
by Oliver
02:57
created

context   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 13
dl 0
loc 20
rs 10
c 0
b 0
f 0
1
# context.py
2
import os
3
import sys
4
5
PACKAGE_PARENT = ".."
6
SCRIPT_DIR = os.path.dirname(
7
    os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__)))
8
)  # isort:skip # noqa # pylint: disable=wrong-import-position
9
sys.path.append(
10
    os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT))
11
)  # isort: skip # noqa # pylint: disable=wrong-import-position
12
13
from src import (  # type: ignore # isort:skip # noqa # pylint: disable=unused-import, wrong-import-position
14
    person,
15
)
16
17
from src.resources import (  # type: ignore # isort:skip # noqa # pylint: disable=unused-import, wrong-import-position
18
    constants,
19
    helpers,
20
)
21