Skip to content

Commit 268cd02

Browse files
Format
1 parent 4a6c26c commit 268cd02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup/setup_python_path.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def get_project_root() -> Path:
2727
Returns:
2828
Path: Absolute path to project root directory
2929
"""
30+
3031
# Start from script's parent directory (since we're in setup/ folder)
3132
# Path(__file__).resolve() gives absolute path, .parent.parent goes up two levels
3233
start_path = Path(__file__).resolve().parent.parent
@@ -58,6 +59,7 @@ def setup_python_path() -> None:
5859
- Converts to string only when needed for sys.path compatibility
5960
- Uses sys.path.insert(0, ...) to prioritize our modules
6061
"""
62+
6163
project_root = get_project_root()
6264
# Use pathlib's / operator for cross-platform path joining
6365
shared_python_path = project_root / 'shared' / 'python'
@@ -83,6 +85,7 @@ def generate_env_file() -> None:
8385
- pathlib handles path separators automatically (\\ on Windows, / on Unix)
8486
- Works with VS Code's python.envFile setting
8587
"""
88+
8689
project_root = get_project_root()
8790
shared_python_path = project_root / 'shared' / 'python'
8891

0 commit comments

Comments
 (0)