Skip to content

Commit d956426

Browse files
committed
Actions updated
1 parent e79ae65 commit d956426

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#!/usr/bin/env python3
2-
"""
3-
Main entry point for running ML pipeline stages
4-
"""
51
import sys
62
from pathlib import Path
73

tests/test_app.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import sys
22
import os
3-
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
3+
import sys
4+
from pathlib import Path
5+
6+
# Add src to Python path
7+
project_root = Path(__file__).parent
8+
sys.path.insert(0, str(project_root))
49

510
from app import app
611

0 commit comments

Comments
 (0)