From f0b84ab3355cb62f65f07fea7e11ca09c387e172 Mon Sep 17 00:00:00 2001 From: sebthom Date: Sun, 27 Apr 2025 23:21:24 +0200 Subject: [PATCH] build: simplify pytest config --- pyproject.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f05e0c5..8e5c1fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -243,16 +243,15 @@ max-positional-arguments = 6 # max. number of positional args for function / me # https://pypi.org/project/pytest/ ##################### [tool.pytest.ini_options] +testpaths = [ + "src", + "tests" +] # https://docs.pytest.org/en/stable/reference.html#confval-addopts addopts = """ --strict-markers -p no:cacheprovider --doctest-modules - --ignore=_LOCAL - --ignore=docker - --ignore=data - --ignore=dist - --ignore=src/kleinanzeigen_bot/__main__.py --cov=src/kleinanzeigen_bot --cov-report=term-missing """