Coverage for /home/runner/work/coxbuild/coxbuild/src/coxbuild/__init__.py: 86%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

7 statements  

1import os 

2from pathlib import Path 

3 

4__version__ = "0.1.6" 

5 

6 

7def get_app_directory() -> Path: 

8 """Get coxbuild root directory.""" 

9 return Path(os.path.split(__file__)[0]) 

10 

11 

12def get_working_directory() -> Path: 

13 """Get coxbuild working directory.""" 

14 return Path(os.curdir)