From 69bea17c1afd5c537352f4fcafbf33c06ab48adc Mon Sep 17 00:00:00 2001 From: Doc Date: Thu, 6 Nov 2025 19:52:04 -0500 Subject: [PATCH] Defined some pytest settings for project --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index be1f7d8..eb5a91f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,8 +23,15 @@ bpe-jigsaw = "bpe_jigsaw.cli:main" requires = ["uv_build>=0.9.4,<0.10.0"] build-backend = "uv_build" +[tool.pytest.ini_options] +pythonpath = "src" +testpaths=["tests"] +norecursedirs=[".git", ".venv"] +addopts = ["import-mode=importlib"] + [dependency-groups] dev = [ "pytest>=8.4.2", "pytest-cov>=7.0.0", ] +