From aece37a6046bc3659207f90ed5d551e34e99f61c Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 24 Nov 2023 11:54:38 +0100 Subject: [PATCH] pytest: discover files with name setup*.py --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4a80e86..e9cc623 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,3 +17,6 @@ package-dir = {"" = "src"} [tool.ruff] line-length = 120 target-version = "py311" + +[tool.pytest.ini_options] +python_files = test_*.py setup*.py \ No newline at end of file