We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79ae65 commit d956426Copy full SHA for d956426
main.py
@@ -1,7 +1,3 @@
1
-#!/usr/bin/env python3
2
-"""
3
-Main entry point for running ML pipeline stages
4
5
import sys
6
from pathlib import Path
7
tests/test_app.py
@@ -1,6 +1,11 @@
import os
-sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+import sys
+from pathlib import Path
+
+# Add src to Python path
+project_root = Path(__file__).parent
8
+sys.path.insert(0, str(project_root))
9
10
from app import app
11
0 commit comments