From 2fafcee15f851a03d87dfac98f887cb881997aba Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:18:08 +0000 Subject: [PATCH 1/2] Configure pytest options in pyproject.toml Add [tool.pytest.ini_options] to pyproject.toml to configure pythonpath and testpaths, allowing pytest to run out-of-the-box with src layout. Co-authored-by: sfloess <447241+sfloess@users.noreply.github.com> --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6787881..c088ae7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,3 +39,7 @@ scrape = "scraping.cli:main" [tool.setuptools.packages.find] where = ["src"] + +[tool.pytest.ini_options] +pythonpath = ["src"] +testpaths = ["tests"] From 09813df0723f27341f4cee7b5201f6574d3897cd Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:39:15 +0000 Subject: [PATCH 2/2] Configure pytest for src-layout (pythonpath + testpaths) Add [tool.pytest.ini_options] section to pyproject.toml specifying pythonpath = ["src"] and testpaths = ["tests"]. This enables pytest to run out-of-the-box without requiring PYTHONPATH=src or an editable install. Co-authored-by: sfloess <447241+sfloess@users.noreply.github.com>