functional2/pyproject.toml: clarify pytest norecursedirs setting

I was pretty confused by this when I saw it, not realizing that `build`
meant `tests/functional2/build` and not the top-level Meson `build`
directory.

Change-Id: I4865f196e5bf029419c6b488e78cbfb46a6a6964
This commit is contained in:
Rebecca Turner
2026-01-02 10:57:43 -08:00
parent 3917e6b63a
commit 80d88ce407
+9 -1
View File
@@ -25,7 +25,15 @@ log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] [%(name)s] %(message)s"
log_cli_date_format = "%Y-%m-%dT%H:%M:%SZ"
# pytest defaults exclude a whole lot more that we want to include. like `build`
# By default, Pytest attempts to helpfully exclude searching for tests in
# `build` directories.
#
# Unfortunately, we have a directory of tests named `build` in this directory
# (not to be confused with the top-level Meson `build` directory;
# `tests/functional2/build/` != `build/`).
#
# These are glob expressions.
# See: https://docs.pytest.org/en/stable/reference/reference.html#confval-norecursedirs
norecursedirs = [ '.*' ]
[tool.ruff]