From d2dcbd021169e083ba420a23092f2ede9ec7c536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Palancher?= Date: Thu, 21 May 2026 11:13:36 +0200 Subject: [PATCH] chore: fix pytest discover with build package --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6c41860..7da9768 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,20 @@ tests = [ "PyYAML", ] +[tool.pytest.ini_options] +# The src/build package directory is named "build", which pytest skips by default +# (norecursedirs). List testpaths explicitly so RFL.build tests are collected. +testpaths = [ + "src/core", + "src/authentication", + "src/build", + "src/log", + "src/permissions", + "src/settings", + "src/web", +] +import_mode = "importlib" + [tool.ruff.lint] # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default. select = ["E", "F"]