From 5e84156e01263f94a49602d2e268218901ea77d0 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sun, 13 Sep 2026 19:00:42 +0200 Subject: [PATCH] fix(cli): copy VALID_SECTIONS when parsing sections list --- src/jcloud_docsgen/cli/languages/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jcloud_docsgen/cli/languages/python.py b/src/jcloud_docsgen/cli/languages/python.py index 017065f..b905416 100644 --- a/src/jcloud_docsgen/cli/languages/python.py +++ b/src/jcloud_docsgen/cli/languages/python.py @@ -41,7 +41,7 @@ def parse_sections_list(include_sections: Optional[list[str]] = None, exclude_se ''' if include_sections is None: - include_sections = VALID_SECTIONS + include_sections = VALID_SECTIONS[:] for section in exclude_sections: while section in include_sections: