@@ -1165,7 +1165,7 @@ def dependable_element(
11651165 maturity = "release" ,
11661166 sphinx = Label ("//bazel/rules/rules_score:score_build" ),
11671167 testonly = True ,
1168- visibility = None ):
1168+ ** kwargs ):
11691169 """Define a dependable element (Safety Element out of Context - SEooC) following S-CORE process guidelines.
11701170
11711171 This macro creates a complete dependable element with integrated documentation
@@ -1200,7 +1200,6 @@ def dependable_element(
12001200 Cross-references will work automatically.
12011201 sphinx: Label to sphinx build binary. Default: //bazel/rules/rules_score:score_build
12021202 testonly: If True, only testonly targets can depend on this target.
1203- visibility: Bazel visibility specification for the dependable element target.
12041203
12051204 Generated Targets:
12061205 <name>_index: Internal rule that generates index.rst and copies artifacts
@@ -1231,7 +1230,7 @@ def dependable_element(
12311230 integrity_level = integrity_level ,
12321231 maturity = maturity ,
12331232 testonly = testonly ,
1234- visibility = visibility ,
1233+ ** kwargs
12351234 )
12361235
12371236 # Step 2: Create sphinx_module using generated index and artifacts.
@@ -1244,7 +1243,7 @@ def dependable_element(
12441243 deps = [d + "_doc" for d in deps ],
12451244 sphinx = sphinx ,
12461245 testonly = testonly ,
1247- visibility = visibility ,
1246+ ** kwargs
12481247 )
12491248
12501249 # Step 3: Create the main <name> target:
@@ -1255,5 +1254,5 @@ def dependable_element(
12551254 name = name ,
12561255 index_dep = ":" + name + "_index" ,
12571256 sphinx_module_dep = ":" + name + "_doc" ,
1258- visibility = visibility ,
1257+ ** kwargs
12591258 )
0 commit comments