diff --git a/conftest.py b/conftest.py new file mode 100644 index 0000000..d728676 --- /dev/null +++ b/conftest.py @@ -0,0 +1,11 @@ +""" +Pytest configuration — ensures the project root is on sys.path. + +Author: A Taylor +""" + +import sys +from pathlib import Path + +# Add project root to sys.path so `from src.xxx import ...` works everywhere +sys.path.insert(0, str(Path(__file__).resolve().parent))