Coverage for fss\starter\__init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-11 19:09 +0800

1"""Add project to python path""" 

2 

3import os 

4import sys 

5from pathlib import Path 

6 

7current_dir = os.path.dirname(os.path.abspath(__file__)) 

8project_dir = str(Path(current_dir).parent.parent) 

9sys.path.insert(0, project_dir)