Skip to content

Commit c8740cb

Browse files
Fixing source code linker & commenting out bug prints
1 parent ac71a2f commit c8740cb

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ needs_types:
187187
security: "^(YES|NO)$"
188188
realizes: "^wp__.+$"
189189
# The following 3 guidance requirements enforce the requirement structure and attributes:
190-
# req-Id: gd_req__req__structure
191-
# req-Id: gd_req__requirements_attr_description
192-
# req-Id: gd_req__req__linkage
190+
# req- Id: gd_req__req__structure
191+
# req- Id: gd_req__requirements_attr_description
192+
# req- Id: gd_req__req__linkage
193193
# Requirements
194194
stkh_req:
195195
title: "Stakeholder Requirement"
@@ -219,7 +219,7 @@ needs_types:
219219
safety: "^(QM|ASIL_B|ASIL_D)$"
220220
status: "^(valid|invalid)$"
221221
mandatory_links:
222-
# req-Id: gd_req__req__linkage_fulfill
222+
# req- Id: gd_req__req__linkage_fulfill
223223
satisfies: "^stkh_req__.*$"
224224
optional_options:
225225
codelink: "^.*$"
@@ -560,10 +560,10 @@ needs_extra_links:
560560
# - condition: defines the condition that should be checked
561561
# - [and / or / xor / not]
562562
##############################################################
563-
# req-Id: gd_req__req__linkage_architecture
564-
# req-Id: gd_req__req__linkage_safety
563+
# req- Id: gd_req__req__linkage_architecture
564+
# req- Id: gd_req__req__linkage_safety
565565
graph_checks:
566-
# req-Id: gd_req__req__linkage_safety
566+
# req- Id: gd_req__req__linkage_safety
567567
req_safety_linkage:
568568
needs:
569569
include: "comp_req, feat_req"
@@ -582,7 +582,7 @@ graph_checks:
582582
condition: "status == valid"
583583
check:
584584
satisfies: "status == valid"
585-
# req-Id: gd_req__req__linkage_architecture
585+
# req- Id: gd_req__req__linkage_architecture
586586
arch_safety_linkage:
587587
needs:
588588
include: "comp_req, feat_req"

src/extensions/score_metamodel/tests/test_rules_file_based.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def test_rst_files(
175175
"Unable to extract test data from the rst file: "
176176
f"{rst_file}. Please check the file for the correct format."
177177
)
178-
print(f"RST Data: {rst_data}")
178+
# print(f"RST Data: {rst_data}")
179179
app: SphinxTestApp = sphinx_app_setup(RST_DIR / rst_file)
180180
os.chdir(app.srcdir) # Change working directory to the source directory
181181

@@ -185,7 +185,7 @@ def test_rst_files(
185185

186186
# Collect the warnings
187187
warnings = app.warning.getvalue().splitlines()
188-
print(f"Warnings: {warnings}")
188+
# print(f"Warnings: {warnings}")
189189

190190
# Check if the expected warnings are present
191191
for warning_info in rst_data.warning_infos:

0 commit comments

Comments
 (0)