From 851870a1267f95cc3c4bb10ac731f48ab602f18a Mon Sep 17 00:00:00 2001 From: Randolph Sapp Date: Mon, 15 Jun 2026 18:43:36 -0500 Subject: [PATCH] fix: avoid invalidating the cache Sort the returned list of excluded paths to prevent accidentally invalidating the cache. Signed-off-by: Randolph Sapp --- scripts/sectinc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sectinc.py b/scripts/sectinc.py index 24a6635cf..0fce40d53 100644 --- a/scripts/sectinc.py +++ b/scripts/sectinc.py @@ -31,4 +31,4 @@ def generate_exclude_patterns(family_configlist): x.relative_to("source/").as_posix() for x in Path("source/").glob("**/*.rst") ) exclude_files = all_rst_files.difference(include_files) - return list(exclude_files) + return sorted(exclude_files)