| Total Complexity | 0 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 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 |