From 858cdac167e081a04885c8d7402b200bd524bd31 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Sat, 1 Feb 2025 15:25:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Remove=20`constraints=5Fpassed`/?= =?UTF-8?q?`constraints=5Fresults`=20directive=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are post-processed internal fields, and the directive options aren't used --- sphinx_needs/defaults.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sphinx_needs/defaults.py b/sphinx_needs/defaults.py index 0f758a2bc..1ca17897e 100644 --- a/sphinx_needs/defaults.py +++ b/sphinx_needs/defaults.py @@ -269,8 +269,6 @@ def string_to_boolean(argument: str | None) -> bool | None: "pre_template": directives.unchanged_required, "post_template": directives.unchanged_required, "constraints": directives.unchanged_required, - "constraints_passed": directives.unchanged_required, - "constraints_results": directives.unchanged_required, } NEEDS_PROFILING = [x.upper() for x in os.environ.get("NEEDS_PROFILING", "").split(",")]