From e67a51fad768108f69ffd86a85523c3f54e8e6ee Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 15 Dec 2025 15:23:08 -0600 Subject: [PATCH] Use a "warning" admonition for expensive prefix includes (#1903) --- docs/exclusions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/exclusions.md b/docs/exclusions.md index 50aa5e2..d3fcf88 100644 --- a/docs/exclusions.md +++ b/docs/exclusions.md @@ -48,7 +48,7 @@ Both `include` and `exclude` support gitignore like glob patterns: All patterns are anchored: The pattern `src` only includes `/src` but not something like `/test/src`. To include any directory named `src`, use the prefix match `**/src`. The same applies for exclude patterns where `src` only excludes `/src` but not something like `/test/src`. -!!! note +!!! warning A prefix include pattern like `**/src` can notably slow down the Python file discovery.